Commit 0d9adec5 authored by Jack Steiner's avatar Jack Steiner Committed by Tony Luck

[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: default avatarJack Steiner <steiner@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 308a8782
...@@ -110,9 +110,8 @@ extern void prefill_possible_map(void); ...@@ -110,9 +110,8 @@ extern void prefill_possible_map(void);
extern int additional_cpus; extern int additional_cpus;
#ifdef CONFIG_ACPI_NUMA #ifdef CONFIG_ACPI_NUMA
/* Proximity bitmap length; _PXM is at most 255 (8 bit)*/ #if MAX_NUMNODES > 256
#ifdef CONFIG_IA64_NR_NODES #define MAX_PXM_DOMAINS MAX_NUMNODES
#define MAX_PXM_DOMAINS CONFIG_IA64_NR_NODES
#else #else
#define MAX_PXM_DOMAINS (256) #define MAX_PXM_DOMAINS (256)
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment