Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;