public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bring ia64 nodes online properly
@ 2004-04-01 21:28 Jesse Barnes
  0 siblings, 0 replies; only message in thread
From: Jesse Barnes @ 2004-04-01 21:28 UTC (permalink / raw)
  To: linux-ia64

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

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.

Jesse

[-- Attachment #2: node-set-online.patch --]
[-- Type: text/plain, Size: 367 bytes --]

===== arch/ia64/kernel/acpi.c 1.65 vs edited =====
--- 1.65/arch/ia64/kernel/acpi.c	Sat Mar 20 21:28:40 2004
+++ edited/arch/ia64/kernel/acpi.c	Thu Apr  1 13:20:58 2004
@@ -455,6 +455,7 @@
 	for (i = 0; i < MAX_PXM_DOMAINS; i++) {
 		if (pxm_bit_test(i)) {
 			pxm_to_nid_map[i] = numnodes;
+			node_set_online(numnodes);
 			nid_to_pxm_map[numnodes++] = i;
 		}
 	}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-01 21:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-01 21:28 [PATCH] bring ia64 nodes online properly Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox