blob: 451823cb88372b2130793abbbb4e17869af34faf [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001#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
11#define MAX_PXM_DOMAINS (256) /* Old pxm spec is defined 8 bit */
12#endif
13
14extern int pxm_to_node(int);
15extern int node_to_pxm(int);
16extern void __acpi_map_pxm_to_node(int, int);
17extern int acpi_map_pxm_to_node(int);
18extern unsigned char acpi_srat_revision;
19
20#endif /* CONFIG_ACPI_NUMA */
21#endif /* __ACP_NUMA_H */