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