Skip to content

Commit

Permalink
[IA64] - Fix MAX_PXM_DOMAINS for systems with > 256 nodes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jack Steiner authored and Tony Luck committed Apr 20, 2006
1 parent 308a878 commit 0d9adec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/asm-ia64/acpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d9adec

Please sign in to comment.