diff options
Diffstat (limited to 'include/asm-x86_64/numa.h')
-rw-r--r-- | include/asm-x86_64/numa.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-x86_64/numa.h b/include/asm-x86_64/numa.h index d51e56fdc3da..34e434ce3268 100644 --- a/include/asm-x86_64/numa.h +++ b/include/asm-x86_64/numa.h | |||
@@ -20,6 +20,11 @@ extern int numa_off; | |||
20 | extern void numa_set_node(int cpu, int node); | 20 | extern void numa_set_node(int cpu, int node); |
21 | 21 | ||
22 | extern unsigned char apicid_to_node[256]; | 22 | extern unsigned char apicid_to_node[256]; |
23 | #ifdef CONFIG_NUMA | ||
24 | extern void __init init_cpu_to_node(void); | ||
25 | #else | ||
26 | #define init_cpu_to_node() do {} while (0) | ||
27 | #endif | ||
23 | 28 | ||
24 | #define NUMA_NO_NODE 0xff | 29 | #define NUMA_NO_NODE 0xff |
25 | 30 | ||