[AGPGART] Fix sparse warning in sgi-agp.c
[linux-2.6/linux-2.6-openrd.git] / include / acpi / acpi_numa.h
blob1049f2a0a6dbf6f7a25b514ac0b08ba8bdb99095
1 #ifndef __ACPI_NUMA_H
2 #define __ACPI_NUMA_H
4 #ifdef CONFIG_ACPI_NUMA
5 #include <linux/kernel.h>
7 /* Proximity bitmap length */
8 #if MAX_NUMNODES > 256
9 #define MAX_PXM_DOMAINS MAX_NUMNODES
10 #else
11 #define MAX_PXM_DOMAINS (256) /* Old pxm spec is defined 8 bit */
12 #endif
14 extern int __cpuinitdata pxm_to_node_map[MAX_PXM_DOMAINS];
15 extern int __cpuinitdata node_to_pxm_map[MAX_NUMNODES];
17 extern int __cpuinit pxm_to_node(int);
18 extern int __cpuinit node_to_pxm(int);
19 extern int __cpuinit acpi_map_pxm_to_node(int);
20 extern void __cpuinit acpi_unmap_pxm_to_node(int);
22 #endif /* CONFIG_ACPI_NUMA */
23 #endif /* __ACP_NUMA_H */