1 /* SPDX-License-Identifier: GPL-2.0 */
5 #ifdef CONFIG_ACPI_NUMA
6 #include <linux/kernel.h>
7 #include <linux/numa.h>
9 /* Proximity bitmap length */
10 #if MAX_NUMNODES > 256
11 #define MAX_PXM_DOMAINS MAX_NUMNODES
13 #define MAX_PXM_DOMAINS (256) /* Old pxm spec is defined 8 bit */
16 extern int pxm_to_node(int);
17 extern int node_to_pxm(int);
18 extern int acpi_map_pxm_to_node(int);
19 extern unsigned char acpi_srat_revision;
20 extern int acpi_numa __initdata;
22 extern void bad_srat(void);
23 extern int srat_disabled(void);
25 #endif /* CONFIG_ACPI_NUMA */
26 #endif /* __ACP_NUMA_H */