diff options
Diffstat (limited to 'include/linux/hugetlb.h')
-rw-r--r-- | include/linux/hugetlb.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index 185b14c9f021..abbc187193a1 100644 --- a/include/linux/hugetlb.h +++ b/include/linux/hugetlb.h | |||
@@ -23,8 +23,10 @@ int hugetlb_overcommit_handler(struct ctl_table *, int, struct file *, void __us | |||
23 | int hugetlb_treat_movable_handler(struct ctl_table *, int, struct file *, void __user *, size_t *, loff_t *); | 23 | int hugetlb_treat_movable_handler(struct ctl_table *, int, struct file *, void __user *, size_t *, loff_t *); |
24 | int copy_hugetlb_page_range(struct mm_struct *, struct mm_struct *, struct vm_area_struct *); | 24 | int copy_hugetlb_page_range(struct mm_struct *, struct mm_struct *, struct vm_area_struct *); |
25 | int follow_hugetlb_page(struct mm_struct *, struct vm_area_struct *, struct page **, struct vm_area_struct **, unsigned long *, int *, int, int); | 25 | int follow_hugetlb_page(struct mm_struct *, struct vm_area_struct *, struct page **, struct vm_area_struct **, unsigned long *, int *, int, int); |
26 | void unmap_hugepage_range(struct vm_area_struct *, unsigned long, unsigned long); | 26 | void unmap_hugepage_range(struct vm_area_struct *, |
27 | void __unmap_hugepage_range(struct vm_area_struct *, unsigned long, unsigned long); | 27 | unsigned long, unsigned long, struct page *); |
28 | void __unmap_hugepage_range(struct vm_area_struct *, | ||
29 | unsigned long, unsigned long, struct page *); | ||
28 | int hugetlb_prefault(struct address_space *, struct vm_area_struct *); | 30 | int hugetlb_prefault(struct address_space *, struct vm_area_struct *); |
29 | int hugetlb_report_meminfo(char *); | 31 | int hugetlb_report_meminfo(char *); |
30 | int hugetlb_report_node_meminfo(int, char *); | 32 | int hugetlb_report_node_meminfo(int, char *); |
@@ -74,7 +76,7 @@ static inline unsigned long hugetlb_total_pages(void) | |||
74 | #define follow_huge_addr(mm, addr, write) ERR_PTR(-EINVAL) | 76 | #define follow_huge_addr(mm, addr, write) ERR_PTR(-EINVAL) |
75 | #define copy_hugetlb_page_range(src, dst, vma) ({ BUG(); 0; }) | 77 | #define copy_hugetlb_page_range(src, dst, vma) ({ BUG(); 0; }) |
76 | #define hugetlb_prefault(mapping, vma) ({ BUG(); 0; }) | 78 | #define hugetlb_prefault(mapping, vma) ({ BUG(); 0; }) |
77 | #define unmap_hugepage_range(vma, start, end) BUG() | 79 | #define unmap_hugepage_range(vma, start, end, page) BUG() |
78 | #define hugetlb_report_meminfo(buf) 0 | 80 | #define hugetlb_report_meminfo(buf) 0 |
79 | #define hugetlb_report_node_meminfo(n, buf) 0 | 81 | #define hugetlb_report_node_meminfo(n, buf) 0 |
80 | #define follow_huge_pmd(mm, addr, pmd, write) NULL | 82 | #define follow_huge_pmd(mm, addr, pmd, write) NULL |