numa_32.h 453 B

12345678910111213141516171819202122
  1. #ifndef _ASM_X86_NUMA_32_H
  2. #define _ASM_X86_NUMA_32_H
  3. extern int numa_off;
  4. extern int pxm_to_nid(int pxm);
  5. #ifdef CONFIG_NUMA
  6. extern int __cpuinit numa_cpu_node(int cpu);
  7. #else /* CONFIG_NUMA */
  8. static inline int numa_cpu_node(int cpu) { return NUMA_NO_NODE; }
  9. #endif /* CONFIG_NUMA */
  10. #ifdef CONFIG_HIGHMEM
  11. extern void set_highmem_pages_init(void);
  12. #else
  13. static inline void set_highmem_pages_init(void)
  14. {
  15. }
  16. #endif
  17. #endif /* _ASM_X86_NUMA_32_H */