Yasunori Goto | 762834e | 2006-06-23 02:03:19 -0700 | [diff] [blame] | 1 | #ifndef __ACPI_NUMA_H |
| 2 | #define __ACPI_NUMA_H |
| 3 | |
| 4 | #ifdef CONFIG_ACPI_NUMA |
| 5 | #include <linux/kernel.h> |
| 6 | |
| 7 | /* Proximity bitmap length */ |
| 8 | #if MAX_NUMNODES > 256 |
| 9 | #define MAX_PXM_DOMAINS MAX_NUMNODES |
| 10 | #else |
Len Brown | fd35094 | 2007-05-09 23:34:35 -0400 | [diff] [blame] | 11 | #define MAX_PXM_DOMAINS (256) /* Old pxm spec is defined 8 bit */ |
Yasunori Goto | 762834e | 2006-06-23 02:03:19 -0700 | [diff] [blame] | 12 | #endif |
| 13 | |
Aaron Durbin | f363d16 | 2007-05-16 22:11:06 -0700 | [diff] [blame] | 14 | extern int pxm_to_node(int); |
| 15 | extern int node_to_pxm(int); |
David Rientjes | 3484d79 | 2007-07-21 17:10:32 +0200 | [diff] [blame] | 16 | extern void __acpi_map_pxm_to_node(int, int); |
Luck, Tony | 8ff6f48 | 2007-05-24 13:57:40 -0700 | [diff] [blame] | 17 | extern int acpi_map_pxm_to_node(int); |
Yasunori Goto | 762834e | 2006-06-23 02:03:19 -0700 | [diff] [blame] | 18 | extern void __cpuinit acpi_unmap_pxm_to_node(int); |
| 19 | |
| 20 | #endif /* CONFIG_ACPI_NUMA */ |
| 21 | #endif /* __ACP_NUMA_H */ |