Skip to content

Commit

Permalink
[IA64] Increase max node count on SN platforms
Browse files Browse the repository at this point in the history
Node number are kept in the cpu_to_node_map which is
currently defined as u8. Change to u16 to accomodate
larger node numbers.

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 Mar 24, 2006
1 parent 3ad5ef8 commit a9de983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/ia64/kernel/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <asm/processor.h>
#include <asm/smp.h>

u8 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
u16 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
EXPORT_SYMBOL(cpu_to_node_map);

cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned;
Expand Down
2 changes: 1 addition & 1 deletion include/asm-ia64/numa.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#include <asm/mmzone.h>

extern u8 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
extern u16 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
extern cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned;

/* Stuff below this line could be architecture independent */
Expand Down

0 comments on commit a9de983

Please sign in to comment.