Commit | Line | Data |
---|---|---|
1965aae3 PA |
1 | #ifndef _ASM_X86_NUMA_32_H |
2 | #define _ASM_X86_NUMA_32_H | |
69e1a33f | 3 | |
90321602 JB |
4 | extern int numa_off; |
5 | ||
8550eb99 | 6 | extern int pxm_to_nid(int pxm); |
69e1a33f | 7 | |
bbc9e2f4 | 8 | #ifdef CONFIG_NUMA |
eff90737 | 9 | extern int __cpuinit numa_cpu_node(int cpu); |
bbc9e2f4 TH |
10 | #else /* CONFIG_NUMA */ |
11 | static inline int numa_cpu_node(int cpu) { return NUMA_NO_NODE; } | |
12 | #endif /* CONFIG_NUMA */ | |
13 | ||
867c5b52 | 14 | #ifdef CONFIG_HIGHMEM |
cc9f7a0c | 15 | extern void set_highmem_pages_init(void); |
867c5b52 PE |
16 | #else |
17 | static inline void set_highmem_pages_init(void) | |
18 | { | |
19 | } | |
8550eb99 IM |
20 | #endif |
21 | ||
1965aae3 | 22 | #endif /* _ASM_X86_NUMA_32_H */ |