Commit 774ef5e9 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] x86_64: Enlarge northbridge numa scan mask

Enlarge max nodes mask in k8 northbridge scan code.
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 93aefbf6
...@@ -59,7 +59,7 @@ int __init k8_scan_nodes(unsigned long start, unsigned long end) ...@@ -59,7 +59,7 @@ int __init k8_scan_nodes(unsigned long start, unsigned long end)
printk(KERN_INFO "Scanning NUMA topology in Northbridge %d\n", nb); printk(KERN_INFO "Scanning NUMA topology in Northbridge %d\n", nb);
reg = read_pci_config(0, nb, 0, 0x60); reg = read_pci_config(0, nb, 0, 0x60);
numnodes = ((reg >> 4) & 7) + 1; numnodes = ((reg >> 4) & 0xF) + 1;
printk(KERN_INFO "Number of nodes %d\n", numnodes); printk(KERN_INFO "Number of nodes %d\n", numnodes);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment