From 9799e3a58b2b762b25069a48641f831c312d543f Mon Sep 17 00:00:00 2001 From: Ravikiran G Thirumalai Date: Wed, 2 May 2007 19:27:08 +0200 Subject: [PATCH] --- yaml --- r: 53783 b: refs/heads/master c: e073ae1b34d5600ffc550407625dcb2d4cf46c6e h: refs/heads/master i: 53781: 9755bcf775ec78343e902495282d051ff549fdb4 53779: 372f9e16a0160ca629e2e469397ff4966f2c6ecf 53775: 75194d58ea9face71475dbba6c61dae3328ff0e7 v: v3 --- [refs] | 2 +- trunk/include/linux/bootmem.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index fff76ca9ec6d..2906f9bb38cf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d039c688c6b3e7217381d2804bc0ca3171913fec +refs/heads/master: e073ae1b34d5600ffc550407625dcb2d4cf46c6e diff --git a/trunk/include/linux/bootmem.h b/trunk/include/linux/bootmem.h index 81c07cd18643..0365ec9fc0c9 100644 --- a/trunk/include/linux/bootmem.h +++ b/trunk/include/linux/bootmem.h @@ -122,9 +122,9 @@ extern void *alloc_large_system_hash(const char *tablename, #define HASH_EARLY 0x00000001 /* Allocating during early boot? */ /* Only NUMA needs hash distribution. - * IA64 is known to have sufficient vmalloc space. + * IA64 and x86_64 have sufficient vmalloc space. */ -#if defined(CONFIG_NUMA) && defined(CONFIG_IA64) +#if defined(CONFIG_NUMA) && (defined(CONFIG_IA64) || defined(CONFIG_X86_64)) #define HASHDIST_DEFAULT 1 #else #define HASHDIST_DEFAULT 0