diff options
author | Andi Kleen <ak@suse.de> | 2005-09-12 12:49:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-12 13:50:58 -0400 |
commit | 4b6a455c7472dabcc624faa740a297d50815b4c7 (patch) | |
tree | 68bec76ac5209cedd317296b679ab03f8eeb0b25 /arch | |
parent | 2bce2b54ae91aac76b62e8110b627ba5e5cbbffd (diff) |
[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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86_64/mm/srat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/mm/srat.c b/arch/x86_64/mm/srat.c index 07bf13fbcf84..4b2e844c15a7 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) | |||
50 | static __init int conflicting_nodes(unsigned long start, unsigned long end) | 50 | static __init int conflicting_nodes(unsigned long start, unsigned long end) |
51 | { | 51 | { |
52 | int i; | 52 | int i; |
53 | for_each_online_node(i) { | 53 | for_each_node_mask(i, nodes_parsed) { |
54 | struct node *nd = &nodes[i]; | 54 | struct node *nd = &nodes[i]; |
55 | if (nd->start == nd->end) | 55 | if (nd->start == nd->end) |
56 | continue; | 56 | continue; |