diff options
Diffstat (limited to 'include/asm-x86/numa_64.h')
-rw-r--r-- | include/asm-x86/numa_64.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/asm-x86/numa_64.h b/include/asm-x86/numa_64.h index 0cc5c97a7fc9..15fe07cde586 100644 --- a/include/asm-x86/numa_64.h +++ b/include/asm-x86/numa_64.h | |||
@@ -20,13 +20,19 @@ extern void numa_set_node(int cpu, int node); | |||
20 | extern void srat_reserve_add_area(int nodeid); | 20 | extern void srat_reserve_add_area(int nodeid); |
21 | extern int hotadd_percent; | 21 | extern int hotadd_percent; |
22 | 22 | ||
23 | extern unsigned char apicid_to_node[MAX_LOCAL_APIC]; | 23 | extern s16 apicid_to_node[MAX_LOCAL_APIC]; |
24 | |||
25 | extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn); | ||
26 | extern unsigned long numa_free_all_bootmem(void); | ||
27 | extern void setup_node_bootmem(int nodeid, unsigned long start, | ||
28 | unsigned long end); | ||
29 | |||
24 | #ifdef CONFIG_NUMA | 30 | #ifdef CONFIG_NUMA |
25 | extern void __init init_cpu_to_node(void); | 31 | extern void __init init_cpu_to_node(void); |
26 | 32 | ||
27 | static inline void clear_node_cpumask(int cpu) | 33 | static inline void clear_node_cpumask(int cpu) |
28 | { | 34 | { |
29 | clear_bit(cpu, &node_to_cpumask[cpu_to_node(cpu)]); | 35 | clear_bit(cpu, (unsigned long *)&node_to_cpumask_map[cpu_to_node(cpu)]); |
30 | } | 36 | } |
31 | 37 | ||
32 | #else | 38 | #else |
@@ -34,6 +40,4 @@ static inline void clear_node_cpumask(int cpu) | |||
34 | #define clear_node_cpumask(cpu) do {} while (0) | 40 | #define clear_node_cpumask(cpu) do {} while (0) |
35 | #endif | 41 | #endif |
36 | 42 | ||
37 | #define NUMA_NO_NODE 0xff | ||
38 | |||
39 | #endif | 43 | #endif |