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