summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-04-26 09:02:14 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-04-26 09:02:14 -0700
commit6d576c069f9f56d719cb42e5631082ad935696c1 (patch)
tree1d861ba57fbf2c5318984ba3996b48821b7613c0 /include/linux
parent65ea1afff7c4b1453996a7f8713dd132e5118a7c (diff)
[PATCH] hugepage fixes
From: William Lee Irwin III <wli@holomorphy.com> mm/hugetlb.c is putting the destructor in head->lru.prev not head[1].mapping; fix below along with nuking huge_page_release(), which simply duplicates put_page().
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/hugetlb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h
index 2a8fa4fd9366..894127b192c4 100644
--- a/include/linux/hugetlb.h
+++ b/include/linux/hugetlb.h
@@ -16,7 +16,6 @@ int follow_hugetlb_page(struct mm_struct *, struct vm_area_struct *, struct page
void zap_hugepage_range(struct vm_area_struct *, unsigned long, unsigned long);
void unmap_hugepage_range(struct vm_area_struct *, unsigned long, unsigned long);
int hugetlb_prefault(struct address_space *, struct vm_area_struct *);
-void huge_page_release(struct page *);
int hugetlb_report_meminfo(char *);
int is_hugepage_mem_enough(size_t);
unsigned long hugetlb_total_pages(void);
@@ -68,7 +67,6 @@ static inline unsigned long hugetlb_total_pages(void)
#define hugetlb_prefault(mapping, vma) ({ BUG(); 0; })
#define zap_hugepage_range(vma, start, len) BUG()
#define unmap_hugepage_range(vma, start, end) BUG()
-#define huge_page_release(page) BUG()
#define is_hugepage_mem_enough(size) 0
#define hugetlb_report_meminfo(buf) 0
#define mark_mm_hugetlb(mm, vma) do { } while (0)