Skip to content

Commit

Permalink
[PATCH] Increase nodemap hash.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nakul Saraiya authored and Linus Torvalds committed Sep 12, 2005
1 parent fb04892 commit f297e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-x86_64/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f297e4e

Please sign in to comment.