summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-12-07 05:37:33 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 17:39:37 +0100
commit04903664325acb3f199dd8a4b8f1aa437e9fd6b2 (patch)
tree6da8e4716c1477d578b9d89cd23be703aac8bedc /mm/page_alloc.c
parent[PATCH] protect ext2 ioctl modifying append_only immutable etc with i_mutex (diff)
downloadlinux-04903664325acb3f199dd8a4b8f1aa437e9fd6b2.tar.xz
linux-04903664325acb3f199dd8a4b8f1aa437e9fd6b2.zip
[PATCH] remove HASH_HIGHMEM
It has no users and it's doubtful that we'll need it again. Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index d539f83c62b6..2273952300d4 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -3226,7 +3226,7 @@ void *__init alloc_large_system_hash(const char *tablename,
/* allow the kernel cmdline to have a say */
if (!numentries) {
/* round applicable memory size up to nearest megabyte */
- numentries = (flags & HASH_HIGHMEM) ? nr_all_pages : nr_kernel_pages;
+ numentries = nr_kernel_pages;
numentries += (1UL << (20 - PAGE_SHIFT)) - 1;
numentries >>= 20 - PAGE_SHIFT;
numentries <<= 20 - PAGE_SHIFT;