Commit 4b6a455c authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] x86-64: Use correct mask to compute conflicting nodes in SRAT

The nodes are not set online yet at this point.
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2bce2b54
...@@ -50,7 +50,7 @@ static __init int setup_node(int pxm) ...@@ -50,7 +50,7 @@ static __init int setup_node(int pxm)
static __init int conflicting_nodes(unsigned long start, unsigned long end) static __init int conflicting_nodes(unsigned long start, unsigned long end)
{ {
int i; int i;
for_each_online_node(i) { for_each_node_mask(i, nodes_parsed) {
struct node *nd = &nodes[i]; struct node *nd = &nodes[i];
if (nd->start == nd->end) if (nd->start == nd->end)
continue; continue;
......
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