aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2006-04-18 15:00:45 -0500
committerTony Luck <tony.luck@intel.com>2006-04-20 10:16:11 -0700
commit0d9adec525b87d8ab7e64efeabffb5b3f293056e (patch)
treec257e02e298cb7ee072379f55242e13be8a163f9 /include/asm-ia64
parent308a878210cde6ab19df9f392c24db53ad6f56bf (diff)
downloadkernel_samsung_tuna-0d9adec525b87d8ab7e64efeabffb5b3f293056e.zip
kernel_samsung_tuna-0d9adec525b87d8ab7e64efeabffb5b3f293056e.tar.gz
kernel_samsung_tuna-0d9adec525b87d8ab7e64efeabffb5b3f293056e.tar.bz2
[IA64] - Fix MAX_PXM_DOMAINS for systems with > 256 nodes
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>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r--include/asm-ia64/acpi.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/asm-ia64/acpi.h b/include/asm-ia64/acpi.h
index d734585..09a5dd0 100644
--- a/include/asm-ia64/acpi.h
+++ b/include/asm-ia64/acpi.h
@@ -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