1
0
Fork 0

[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: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
hifive-unleashed-5.1
Andi Kleen 2005-09-12 18:49:25 +02:00 committed by Linus Torvalds
parent 2bce2b54ae
commit 4b6a455c74
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ static __init int setup_node(int pxm)
static __init int conflicting_nodes(unsigned long start, unsigned long end)
{
int i;
for_each_online_node(i) {
for_each_node_mask(i, nodes_parsed) {
struct node *nd = &nodes[i];
if (nd->start == nd->end)
continue;