2008-10-23 13:26:29 +08:00
|
|
|
#ifndef _ASM_X86_NUMA_32_H
|
|
|
|
#define _ASM_X86_NUMA_32_H
|
2005-09-13 00:49:24 +08:00
|
|
|
|
2011-01-19 16:57:21 +08:00
|
|
|
extern int numa_off;
|
|
|
|
|
2008-01-30 20:34:10 +08:00
|
|
|
extern int pxm_to_nid(int pxm);
|
2005-09-13 00:49:24 +08:00
|
|
|
|
2011-01-23 21:37:39 +08:00
|
|
|
#ifdef CONFIG_NUMA
|
2011-01-31 23:59:05 +08:00
|
|
|
extern int __cpuinit numa_cpu_node(int cpu);
|
2011-01-23 21:37:39 +08:00
|
|
|
#else /* CONFIG_NUMA */
|
|
|
|
static inline int numa_cpu_node(int cpu) { return NUMA_NO_NODE; }
|
|
|
|
#endif /* CONFIG_NUMA */
|
|
|
|
|
2009-03-03 20:10:12 +08:00
|
|
|
#ifdef CONFIG_HIGHMEM
|
2008-06-17 07:11:08 +08:00
|
|
|
extern void set_highmem_pages_init(void);
|
2009-03-03 20:10:12 +08:00
|
|
|
#else
|
|
|
|
static inline void set_highmem_pages_init(void)
|
|
|
|
{
|
|
|
|
}
|
2008-01-30 20:34:10 +08:00
|
|
|
#endif
|
|
|
|
|
2008-10-23 13:26:29 +08:00
|
|
|
#endif /* _ASM_X86_NUMA_32_H */
|