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