acpi_numa.h 466 B

1234567891011121314151617181920
  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 pxm_to_node(int);
  12. extern int node_to_pxm(int);
  13. extern int acpi_map_pxm_to_node(int);
  14. extern unsigned char acpi_srat_revision;
  15. #endif /* CONFIG_ACPI_NUMA */
  16. #endif /* __ACP_NUMA_H */