From dd9bbe8a848b3ee21521d81af381a79ce0a99eba Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Tue, 31 Mar 2009 15:23:19 -0700 Subject: [PATCH] --- yaml --- r: 139157 b: refs/heads/master c: c2fdf3a9b2d52842808a8e551b53b55dd9b45030 h: refs/heads/master i: 139155: 97c800eda4186c384096b0db7485368dfe106af8 v: v3 --- [refs] | 2 +- trunk/include/linux/bootmem.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index fdeb8d9343dd..e2fefa73ac6c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 704503d836042d4a4c7685b7036e7de0418fbc0f +refs/heads/master: c2fdf3a9b2d52842808a8e551b53b55dd9b45030 diff --git a/trunk/include/linux/bootmem.h b/trunk/include/linux/bootmem.h index 455d83219fae..bc3ab7073695 100644 --- a/trunk/include/linux/bootmem.h +++ b/trunk/include/linux/bootmem.h @@ -146,10 +146,10 @@ extern void *alloc_large_system_hash(const char *tablename, #define HASH_EARLY 0x00000001 /* Allocating during early boot? */ -/* Only NUMA needs hash distribution. - * IA64 and x86_64 have sufficient vmalloc space. +/* Only NUMA needs hash distribution. 64bit NUMA architectures have + * sufficient vmalloc space. */ -#if defined(CONFIG_NUMA) && (defined(CONFIG_IA64) || defined(CONFIG_X86_64)) +#if defined(CONFIG_NUMA) && defined(CONFIG_64BIT) #define HASHDIST_DEFAULT 1 #else #define HASHDIST_DEFAULT 0