mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
[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>
This commit is contained in:
parent
fb048927ad
commit
f297e4e5e4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user