aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/numa_64.h4
-rw-r--r--include/asm-x86/topology.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-x86/numa_64.h b/include/asm-x86/numa_64.h
index 4449889bb0c0..941889471b52 100644
--- a/include/asm-x86/numa_64.h
+++ b/include/asm-x86/numa_64.h
@@ -20,7 +20,7 @@ extern void numa_set_node(int cpu, int node);
20extern void srat_reserve_add_area(int nodeid); 20extern void srat_reserve_add_area(int nodeid);
21extern int hotadd_percent; 21extern int hotadd_percent;
22 22
23extern unsigned char apicid_to_node[MAX_LOCAL_APIC]; 23extern u16 apicid_to_node[MAX_LOCAL_APIC];
24 24
25extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn); 25extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn);
26extern unsigned long numa_free_all_bootmem(void); 26extern unsigned long numa_free_all_bootmem(void);
@@ -40,6 +40,6 @@ static inline void clear_node_cpumask(int cpu)
40#define clear_node_cpumask(cpu) do {} while (0) 40#define clear_node_cpumask(cpu) do {} while (0)
41#endif 41#endif
42 42
43#define NUMA_NO_NODE 0xff 43#define NUMA_NO_NODE 0xffff
44 44
45#endif 45#endif
diff --git a/include/asm-x86/topology.h b/include/asm-x86/topology.h
index 9c251604ecc4..f8706b2a3d88 100644
--- a/include/asm-x86/topology.h
+++ b/include/asm-x86/topology.h
@@ -30,7 +30,7 @@
30#include <asm/mpspec.h> 30#include <asm/mpspec.h>
31 31
32/* Mappings between logical cpu number and node number */ 32/* Mappings between logical cpu number and node number */
33extern int cpu_to_node_map[]; 33extern u16 cpu_to_node_map[];
34extern cpumask_t node_to_cpumask_map[]; 34extern cpumask_t node_to_cpumask_map[];
35 35
36/* Returns the number of the node containing CPU 'cpu' */ 36/* Returns the number of the node containing CPU 'cpu' */