From: Nakul Saraiya Date: Mon, 12 Sep 2005 16:49:24 +0000 (+0200) Subject: [PATCH] Increase nodemap hash. X-Git-Tag: 2.1b_release~39692 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f297e4e5e4245a5c3fb36e7f754cde96cdb4bc43;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git [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 Signed-off-by: Linus Torvalds --- 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 -#define NODEMAPSIZE 0xff +#define NODEMAPSIZE 0xfff /* Simple perfect hash to map physical addresses to node numbers */ extern int memnode_shift;