* PATCH[3/4] - Increase max node count on SN platforms
@ 2006-03-02 22:02 Jack Steiner
0 siblings, 0 replies; only message in thread
From: Jack Steiner @ 2006-03-02 22:02 UTC (permalink / raw)
To: linux-ia64
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>
arch/ia64/kernel/numa.c | 2 +-
include/asm-ia64/numa.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: linux/arch/ia64/kernel/numa.c
=================================--- linux.orig/arch/ia64/kernel/numa.c 2006-03-02 13:18:50.720983429 -0600
+++ linux/arch/ia64/kernel/numa.c 2006-03-02 13:21:53.358501208 -0600
@@ -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;
Index: linux/include/asm-ia64/numa.h
=================================--- linux.orig/include/asm-ia64/numa.h 2006-03-02 13:18:50.721959896 -0600
+++ linux/include/asm-ia64/numa.h 2006-03-02 13:21:53.358501208 -0600
@@ -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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-03-02 22:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-02 22:02 PATCH[3/4] - Increase max node count on SN platforms Jack Steiner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox