|
@@ -290,6 +290,14 @@ struct vm_operations_struct {
|
|
/* called by sys_remap_file_pages() to populate non-linear mapping */
|
|
/* called by sys_remap_file_pages() to populate non-linear mapping */
|
|
int (*remap_pages)(struct vm_area_struct *vma, unsigned long addr,
|
|
int (*remap_pages)(struct vm_area_struct *vma, unsigned long addr,
|
|
unsigned long size, pgoff_t pgoff);
|
|
unsigned long size, pgoff_t pgoff);
|
|
|
|
+
|
|
|
|
+ /*
|
|
|
|
+ * Called by vm_normal_page() for special PTEs to find the
|
|
|
|
+ * page for @addr. This is useful if the default behavior
|
|
|
|
+ * (using pte_page()) would not find the correct page.
|
|
|
|
+ */
|
|
|
|
+ struct page *(*find_special_page)(struct vm_area_struct *vma,
|
|
|
|
+ unsigned long addr);
|
|
};
|
|
};
|
|
|
|
|
|
struct mmu_gather;
|
|
struct mmu_gather;
|