diff options
| author | venkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com> | 2008-12-19 16:47:29 -0500 |
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2008-12-19 18:40:30 -0500 |
| commit | 34801ba9bf0381fcf0e2b08179d2c07f2c6ede74 (patch) | |
| tree | e14d979cb9abf9220d0c60b04505851805975398 /include/linux | |
| parent | 982d789ab76c8a11426852fec2fdf2f412e21c0c (diff) | |
x86: PAT: move track untrack pfnmap stubs to asm-generic
Impact: Cleanup and branch hints only.
Move the track and untrack pfn stub routines from memory.c to asm-generic.
Also add unlikely to pfnmap related calls in fork and exit path.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mm.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 36f9b3fa5e15..d3ddd735e375 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
| @@ -163,12 +163,6 @@ static inline int is_pfn_mapping(struct vm_area_struct *vma) | |||
| 163 | return (vma->vm_flags & VM_PFNMAP); | 163 | return (vma->vm_flags & VM_PFNMAP); |
| 164 | } | 164 | } |
| 165 | 165 | ||
| 166 | extern int track_pfn_vma_new(struct vm_area_struct *vma, pgprot_t prot, | ||
| 167 | unsigned long pfn, unsigned long size); | ||
| 168 | extern int track_pfn_vma_copy(struct vm_area_struct *vma); | ||
| 169 | extern void untrack_pfn_vma(struct vm_area_struct *vma, unsigned long pfn, | ||
| 170 | unsigned long size); | ||
| 171 | |||
| 172 | /* | 166 | /* |
| 173 | * vm_fault is filled by the the pagefault handler and passed to the vma's | 167 | * vm_fault is filled by the the pagefault handler and passed to the vma's |
| 174 | * ->fault function. The vma's ->fault is responsible for returning a bitmask | 168 | * ->fault function. The vma's ->fault is responsible for returning a bitmask |
