]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] - Fix MAX_PXM_DOMAINS for systems with > 256 nodes
authorJack Steiner <steiner@sgi.com>
Tue, 18 Apr 2006 20:00:45 +0000 (15:00 -0500)
committerTony Luck <tony.luck@intel.com>
Thu, 20 Apr 2006 17:16:11 +0000 (10:16 -0700)
Correctly size the PXM-related arrays for systems that have more than
256 nodes.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/acpi.h

index d734585a23cfc37444dd61a76c1386833a0700fe..09a5dd0e44a89f8c083bedce37f80d3d7e438f1a 100644 (file)
@@ -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