numa_32.h 456 字节
Newer Older
H
H. Peter Anvin 已提交
1 2
#ifndef _ASM_X86_NUMA_32_H
#define _ASM_X86_NUMA_32_H
3

4 5
extern int numa_off;

I
Ingo Molnar 已提交
6
extern int pxm_to_nid(int pxm);
7

8 9 10 11 12 13
#ifdef CONFIG_NUMA
extern int __cpuinit numa_cpu_node(int apicid);
#else	/* CONFIG_NUMA */
static inline int numa_cpu_node(int cpu)		{ return NUMA_NO_NODE; }
#endif	/* CONFIG_NUMA */

14
#ifdef CONFIG_HIGHMEM
Y
Yinghai Lu 已提交
15
extern void set_highmem_pages_init(void);
16 17 18 19
#else
static inline void set_highmem_pages_init(void)
{
}
I
Ingo Molnar 已提交
20 21
#endif

H
H. Peter Anvin 已提交
22
#endif /* _ASM_X86_NUMA_32_H */