Commit 221e33ad authored by Jesse Barnes's avatar Jesse Barnes Committed by David Mosberger

[PATCH] ia64: make cpu_to_node_map unsigned

This small fix is needed for machines with more than 128 nodes.
parent ea361e05
...@@ -466,7 +466,7 @@ smp_build_cpu_map (void) ...@@ -466,7 +466,7 @@ smp_build_cpu_map (void)
#ifdef CONFIG_NUMA #ifdef CONFIG_NUMA
/* on which node is each logical CPU (one cacheline even for 64 CPUs) */ /* 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 */ /* which logical CPUs are on which nodes */
volatile cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned; volatile cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned;
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <asm/mmzone.h> #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; extern volatile cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned;
/* Stuff below this line could be architecture independent */ /* Stuff below this line could be architecture independent */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment