From 221e33ad448f3714525d8390d8d339bf200de1a0 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Thu, 18 Dec 2003 23:13:48 -0800 Subject: [PATCH] [PATCH] ia64: make cpu_to_node_map unsigned This small fix is needed for machines with more than 128 nodes. --- arch/ia64/kernel/smpboot.c | 2 +- include/asm-ia64/numa.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c index 4bf9eed493859..974d8b098ccbe 100644 --- a/arch/ia64/kernel/smpboot.c +++ b/arch/ia64/kernel/smpboot.c @@ -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; diff --git a/include/asm-ia64/numa.h b/include/asm-ia64/numa.h index f5a7352398971..bdf62e67eb4e2 100644 --- a/include/asm-ia64/numa.h +++ b/include/asm-ia64/numa.h @@ -24,7 +24,7 @@ #include -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 */ -- 2.53.0