diff options
| author | Andrew Morton <akpm@digeo.com> | 2002-11-10 02:02:00 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2002-11-10 02:02:00 -0800 |
| commit | 919de8f537c46472a8e5d0417fa211d5ecd58787 (patch) | |
| tree | 3af8b9bf996b38d2799595cf5552422f6a767c10 /include | |
| parent | 20078cee4a009732f9498a9ede5a33aebd9078d4 (diff) | |
[PATCH] hugetlb: remove /proc/ intrusion
Patch from William Lee Irwin III <wli@holomorphy.com>
This patch removes hugetlb's intrusion into /proc/
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/hugetlb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index d113d54d8db2..37c3621b2f03 100644 --- a/include/linux/hugetlb.h +++ b/include/linux/hugetlb.h @@ -17,6 +17,7 @@ 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 *); extern int htlbpage_max; @@ -32,6 +33,7 @@ static inline int is_vm_hugetlb_page(struct vm_area_struct *vma) #define zap_hugepage_range(vma, start, len) BUG() #define unmap_hugepage_range(vma, start, end) BUG() #define huge_page_release(page) BUG() +#define hugetlb_report_meminfo(buf) 0 #endif /* !CONFIG_HUGETLB_PAGE */ |
