diff options
| author | Mel Gorman <mel@csn.ul.ie> | 2007-07-19 04:47:23 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 13:04:41 -0400 |
| commit | bb2d5ce16409efcdf94017a6b6fecd468226e29c (patch) | |
| tree | 12ce94a51c3aa8bffb22e1aa22f122268013fec4 /include/linux | |
| parent | 79352894b28550ee0eee919149f57626ec1b3572 (diff) | |
Remove alloc_zeroed_user_highpage()
alloc_zeroed_user_highpage() has no in-tree users and it is not exported.
As it is not exported, it can simply be removed.
Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Acked-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/highmem.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/highmem.h b/include/linux/highmem.h index 12c5e4e3135a..1fcb0033179e 100644 --- a/include/linux/highmem.h +++ b/include/linux/highmem.h | |||
| @@ -103,21 +103,6 @@ __alloc_zeroed_user_highpage(gfp_t movableflags, | |||
| 103 | #endif | 103 | #endif |
| 104 | 104 | ||
| 105 | /** | 105 | /** |
| 106 | * alloc_zeroed_user_highpage - Allocate a zeroed HIGHMEM page for a VMA | ||
| 107 | * @vma: The VMA the page is to be allocated for | ||
| 108 | * @vaddr: The virtual address the page will be inserted into | ||
| 109 | * | ||
| 110 | * This function will allocate a page for a VMA that the caller knows will | ||
| 111 | * not be able to move in the future using move_pages() or reclaim. If it | ||
| 112 | * is known that the page can move, use alloc_zeroed_user_highpage_movable | ||
| 113 | */ | ||
| 114 | static inline struct page * | ||
| 115 | alloc_zeroed_user_highpage(struct vm_area_struct *vma, unsigned long vaddr) | ||
| 116 | { | ||
| 117 | return __alloc_zeroed_user_highpage(0, vma, vaddr); | ||
| 118 | } | ||
| 119 | |||
| 120 | /** | ||
| 121 | * alloc_zeroed_user_highpage_movable - Allocate a zeroed HIGHMEM page for a VMA that the caller knows can move | 106 | * alloc_zeroed_user_highpage_movable - Allocate a zeroed HIGHMEM page for a VMA that the caller knows can move |
| 122 | * @vma: The VMA the page is to be allocated for | 107 | * @vma: The VMA the page is to be allocated for |
| 123 | * @vaddr: The virtual address the page will be inserted into | 108 | * @vaddr: The virtual address the page will be inserted into |
