* [PATCH] make cpu_to_node_map unsigned
@ 2003-12-18 20:11 Jesse Barnes
0 siblings, 0 replies; only message in thread
From: Jesse Barnes @ 2003-12-18 20:11 UTC (permalink / raw)
To: linux-ia64
This small fix is needed for machines with more than 128 nodes.
Jesse
diff -Nru a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c
--- a/arch/ia64/kernel/smpboot.c Thu Dec 18 12:08:52 2003
+++ b/arch/ia64/kernel/smpboot.c Thu Dec 18 12:08:52 2003
@@ -466,7 +466,7 @@
#ifdef CONFIG_NUMA
/* on which node is each logical CPU (one cacheline even for 64 CPUs) */
-volatile char cpu_to_node_map[NR_CPUS] __cacheline_aligned;
+volatile u8 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
/* which logical CPUs are on which nodes */
volatile cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned;
diff -Nru a/include/asm-ia64/numa.h b/include/asm-ia64/numa.h
--- a/include/asm-ia64/numa.h Thu Dec 18 12:08:52 2003
+++ b/include/asm-ia64/numa.h Thu Dec 18 12:08:52 2003
@@ -24,7 +24,7 @@
#include <asm/mmzone.h>
-extern volatile char cpu_to_node_map[NR_CPUS] __cacheline_aligned;
+extern volatile u8 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
extern volatile 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:[~2003-12-18 20:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-18 20:11 [PATCH] make cpu_to_node_map unsigned Jesse Barnes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox