[PATCH] x86_64: Always pass full number of nodes to NUMA hash computation
[safe/jmp/linux-2.6] / arch / x86_64 / mm / k8topology.c
index a5663e0..dd60e71 100644 (file)
@@ -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;