From: Andi Kleen Date: Mon, 12 Sep 2005 16:49:25 +0000 (+0200) Subject: [PATCH] x86-64: Use correct mask to compute conflicting nodes in SRAT X-Git-Tag: v2.6.14-rc1~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b6a455c7472dabcc624faa740a297d50815b4c7;p=linux-2.6 [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 Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/mm/srat.c b/arch/x86_64/mm/srat.c index 07bf13fbcf..4b2e844c15 100644 --- a/arch/x86_64/mm/srat.c +++ b/arch/x86_64/mm/srat.c @@ -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;