]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ia64: make cpu_to_node_map unsigned
authorJesse Barnes <jbarnes@sgi.com>
Fri, 19 Dec 2003 07:13:48 +0000 (23:13 -0800)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Fri, 19 Dec 2003 07:13:48 +0000 (23:13 -0800)
This small fix is needed for machines with more than 128 nodes.

arch/ia64/kernel/smpboot.c
include/asm-ia64/numa.h

index 4bf9eed4938590580dd618fa934eb23a81f7aa24..974d8b098ccbeb4e03522caf89beb97b3d43157c 100644 (file)
@@ -466,7 +466,7 @@ smp_build_cpu_map (void)
 #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;
 
index f5a735239897162e82d412029d8e86d106b412fd..bdf62e67eb4e2038dac9f662e588401a0ff916a0 100644 (file)
@@ -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 */