Commit f297e4e5 authored by Nakul Saraiya's avatar Nakul Saraiya Committed by Linus Torvalds

[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: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent fb048927
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <asm/smp.h> #include <asm/smp.h>
#define NODEMAPSIZE 0xff #define NODEMAPSIZE 0xfff
/* Simple perfect hash to map physical addresses to node numbers */ /* Simple perfect hash to map physical addresses to node numbers */
extern int memnode_shift; extern int memnode_shift;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment