From: Jack Steiner Date: Tue, 18 Apr 2006 20:00:45 +0000 (-0500) Subject: [IA64] - Fix MAX_PXM_DOMAINS for systems with > 256 nodes X-Git-Tag: v2.6.17-rc4~135^2~11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d9adec525b87d8ab7e64efeabffb5b3f293056e;p=linux-2.6 [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 Signed-off-by: Tony Luck --- diff --git a/include/asm-ia64/acpi.h b/include/asm-ia64/acpi.h index d734585a23..09a5dd0e44 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