aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index a25024ff9c11..87ecb40e11a0 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -155,6 +155,12 @@ static inline int is_pfn_mapping(struct vm_area_struct *vma)
155 return (vma->vm_flags & VM_PFNMAP); 155 return (vma->vm_flags & VM_PFNMAP);
156} 156}
157 157
158extern int track_pfn_vma_new(struct vm_area_struct *vma, pgprot_t prot,
159 unsigned long pfn, unsigned long size);
160extern int track_pfn_vma_copy(struct vm_area_struct *vma);
161extern void untrack_pfn_vma(struct vm_area_struct *vma, unsigned long pfn,
162 unsigned long size);
163
158/* 164/*
159 * vm_fault is filled by the the pagefault handler and passed to the vma's 165 * vm_fault is filled by the the pagefault handler and passed to the vma's
160 * ->fault function. The vma's ->fault is responsible for returning a bitmask 166 * ->fault function. The vma's ->fault is responsible for returning a bitmask