x86/amd-iommu: Add per IOMMU reference counting
[linux/fpc-iii.git] / include / acpi / acpi_numa.h
blob173972672175588c181718aef6cf7f1537c37758
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 pxm_to_node(int);
15 extern int node_to_pxm(int);
16 extern void __acpi_map_pxm_to_node(int, int);
17 extern int acpi_map_pxm_to_node(int);
19 #endif /* CONFIG_ACPI_NUMA */
20 #endif /* __ACP_NUMA_H */