acpi_numa.h 622 B

1234567891011121314151617181920212223
  1. #ifndef __ACPI_NUMA_H
  2. #define __ACPI_NUMA_H
  3. #ifdef CONFIG_ACPI_NUMA
  4. #include <linux/kernel.h>
  5. /* Proximity bitmap length */
  6. #if MAX_NUMNODES > 256
  7. #define MAX_PXM_DOMAINS MAX_NUMNODES
  8. #else
  9. #define MAX_PXM_DOMAINS (256) /* Old pxm spec is defined 8 bit */
  10. #endif
  11. extern int __cpuinitdata pxm_to_node_map[MAX_PXM_DOMAINS];
  12. extern int __cpuinitdata node_to_pxm_map[MAX_NUMNODES];
  13. extern int __cpuinit pxm_to_node(int);
  14. extern int __cpuinit node_to_pxm(int);
  15. extern int __cpuinit acpi_map_pxm_to_node(int);
  16. extern void __cpuinit acpi_unmap_pxm_to_node(int);
  17. #endif /* CONFIG_ACPI_NUMA */
  18. #endif /* __ACP_NUMA_H */