]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/x86/include/asm/numa_32.h
Merge commit 'v2.6.39' into 20110526
[karo-tx-linux.git] / arch / x86 / include / asm / numa_32.h
1 #ifndef _ASM_X86_NUMA_32_H
2 #define _ASM_X86_NUMA_32_H
3
4 extern int numa_off;
5
6 extern int pxm_to_nid(int pxm);
7
8 #ifdef CONFIG_NUMA
9 extern int __cpuinit numa_cpu_node(int cpu);
10 #else   /* CONFIG_NUMA */
11 static inline int numa_cpu_node(int cpu)                { return NUMA_NO_NODE; }
12 #endif  /* CONFIG_NUMA */
13
14 #ifdef CONFIG_HIGHMEM
15 extern void set_highmem_pages_init(void);
16 #else
17 static inline void set_highmem_pages_init(void)
18 {
19 }
20 #endif
21
22 #endif /* _ASM_X86_NUMA_32_H */