* [PATCH] - Fix MAX_PXM_DOMAINS for systems with > 256 nodes
@ 2006-04-18 20:00 Jack Steiner
0 siblings, 0 replies; only message in thread
From: Jack Steiner @ 2006-04-18 20:00 UTC (permalink / raw)
To: linux-ia64
Correctly size the PXM-related arrays for systems that have more than
256 nodes.
Signed-off-by: Jack Steiner <steiner@sgi.com>
Index: linux/include/asm-ia64/acpi.h
=================================--- linux.orig/include/asm-ia64/acpi.h 2006-04-18 12:32:21.191273221 -0500
+++ linux/include/asm-ia64/acpi.h 2006-04-18 14:35:52.941609225 -0500
@@ -110,9 +110,8 @@ extern void prefill_possible_map(void);
extern int additional_cpus;
#ifdef CONFIG_ACPI_NUMA
-/* Proximity bitmap length; _PXM is at most 255 (8 bit)*/
-#ifdef CONFIG_IA64_NR_NODES
-#define MAX_PXM_DOMAINS CONFIG_IA64_NR_NODES
+#if MAX_NUMNODES > 256
+#define MAX_PXM_DOMAINS MAX_NUMNODES
#else
#define MAX_PXM_DOMAINS (256)
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-04-18 20:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-18 20:00 [PATCH] - Fix MAX_PXM_DOMAINS for systems with > 256 nodes Jack Steiner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox