summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNakul Saraiya <saraiya@fabric7.com>2005-09-12 18:49:24 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-12 10:50:55 -0700
commitf297e4e5e4245a5c3fb36e7f754cde96cdb4bc43 (patch)
tree1e2d7d165295ff461678d4074524963f82f9ea2b
parentfb048927ad93420b6dd2eddcdde71ea7b6ff95e4 (diff)
downloadop-kernel-dev-f297e4e5e4245a5c3fb36e7f754cde96cdb4bc43.zip
op-kernel-dev-f297e4e5e4245a5c3fb36e7f754cde96cdb4bc43.tar.gz
[PATCH] Increase nodemap hash.
Needed for some newer Opteron systems with E stepping and memory relocation enabled. The node addresses are different in lower bits now so the nodemap hash function needs to be enlarged. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--include/asm-x86_64/mmzone.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86_64/mmzone.h b/include/asm-x86_64/mmzone.h
index 2ef43da..b40c661 100644
--- a/include/asm-x86_64/mmzone.h
+++ b/include/asm-x86_64/mmzone.h
@@ -12,7 +12,7 @@
#include <asm/smp.h>
-#define NODEMAPSIZE 0xff
+#define NODEMAPSIZE 0xfff
/* Simple perfect hash to map physical addresses to node numbers */
extern int memnode_shift;
OpenPOWER on IntegriCloud