diff options
author | Wanpeng Li <liwanp@linux.vnet.ibm.com> | 2013-07-03 18:02:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 19:07:32 -0400 |
commit | 5f1e31d2f5977d910d0b2f5018173e99241d1940 (patch) | |
tree | e3ae407197f5518faba7cf4fe48a86f19f94def1 /include/linux/hugetlb.h | |
parent | 4c42efa266030f32227f35fabbdd986fcf8f2ec4 (diff) |
mm/hugetlb: remove hugetlb_prefault
hugetlb_prefault() is not used any more, this patch removes it.
Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/hugetlb.h')
-rw-r--r-- | include/linux/hugetlb.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index 89d4fbf681e7..c2b1801a160b 100644 --- a/include/linux/hugetlb.h +++ b/include/linux/hugetlb.h | |||
@@ -55,7 +55,6 @@ void __unmap_hugepage_range_final(struct mmu_gather *tlb, | |||
55 | void __unmap_hugepage_range(struct mmu_gather *tlb, struct vm_area_struct *vma, | 55 | void __unmap_hugepage_range(struct mmu_gather *tlb, struct vm_area_struct *vma, |
56 | unsigned long start, unsigned long end, | 56 | unsigned long start, unsigned long end, |
57 | struct page *ref_page); | 57 | struct page *ref_page); |
58 | int hugetlb_prefault(struct address_space *, struct vm_area_struct *); | ||
59 | void hugetlb_report_meminfo(struct seq_file *); | 58 | void hugetlb_report_meminfo(struct seq_file *); |
60 | int hugetlb_report_node_meminfo(int, char *); | 59 | int hugetlb_report_node_meminfo(int, char *); |
61 | void hugetlb_show_meminfo(void); | 60 | void hugetlb_show_meminfo(void); |
@@ -114,7 +113,6 @@ static inline unsigned long hugetlb_total_pages(void) | |||
114 | #define follow_hugetlb_page(m,v,p,vs,a,b,i,w) ({ BUG(); 0; }) | 113 | #define follow_hugetlb_page(m,v,p,vs,a,b,i,w) ({ BUG(); 0; }) |
115 | #define follow_huge_addr(mm, addr, write) ERR_PTR(-EINVAL) | 114 | #define follow_huge_addr(mm, addr, write) ERR_PTR(-EINVAL) |
116 | #define copy_hugetlb_page_range(src, dst, vma) ({ BUG(); 0; }) | 115 | #define copy_hugetlb_page_range(src, dst, vma) ({ BUG(); 0; }) |
117 | #define hugetlb_prefault(mapping, vma) ({ BUG(); 0; }) | ||
118 | static inline void hugetlb_report_meminfo(struct seq_file *m) | 116 | static inline void hugetlb_report_meminfo(struct seq_file *m) |
119 | { | 117 | { |
120 | } | 118 | } |