git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] x86_64: Always pass full number of nodes to NUMA hash computation
[safe/jmp/linux-2.6]
/
arch
/
x86_64
/
mm
/
k8topology.c
diff --git
a/arch/x86_64/mm/k8topology.c
b/arch/x86_64/mm/k8topology.c
index
a5663e0
..
dd60e71
100644
(file)
--- a/
arch/x86_64/mm/k8topology.c
+++ b/
arch/x86_64/mm/k8topology.c
@@
-155,7
+155,7
@@
int __init k8_scan_nodes(unsigned long start, unsigned long end)
if (!found)
return -1;
- memnode_shift = compute_hash_shift(nodes,
numnodes
);
+ memnode_shift = compute_hash_shift(nodes,
8
);
if (memnode_shift < 0) {
printk(KERN_ERR "No NUMA node hash function found. Contact maintainer\n");
return -1;