Commit 0c5d6e19 authored by Jesse Barnes's avatar Jesse Barnes Committed by David Mosberger

[PATCH] ia64: bring ia64 nodes online properly

Andi's libnuma exposed the fact that we don't bring nodes online
properly as we discover them in ia64.  Here's a quick patch to fix
that.  Tested with Andi's numademo program; seems to work fine.
parent ba4e8143
...@@ -455,6 +455,7 @@ acpi_numa_arch_fixup (void) ...@@ -455,6 +455,7 @@ acpi_numa_arch_fixup (void)
for (i = 0; i < MAX_PXM_DOMAINS; i++) { for (i = 0; i < MAX_PXM_DOMAINS; i++) {
if (pxm_bit_test(i)) { if (pxm_bit_test(i)) {
pxm_to_nid_map[i] = numnodes; pxm_to_nid_map[i] = numnodes;
node_set_online(numnodes);
nid_to_pxm_map[numnodes++] = i; nid_to_pxm_map[numnodes++] = i;
} }
} }
......
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