blob: e2fcee2b340d8e4134a7320c80eb92aaef4f611b [file] [log] [blame]
Yasunori Goto762834e2006-06-23 02:03:19 -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
Len Brownfd350942007-05-09 23:34:35 -040011#define MAX_PXM_DOMAINS (256) /* Old pxm spec is defined 8 bit */
Yasunori Goto762834e2006-06-23 02:03:19 -070012#endif
13
Aaron Durbinf363d162007-05-16 22:11:06 -070014extern int pxm_to_node(int);
15extern int node_to_pxm(int);
Luck, Tony8ff6f482007-05-24 13:57:40 -070016extern int acpi_map_pxm_to_node(int);
Yasunori Goto762834e2006-06-23 02:03:19 -070017extern void __cpuinit acpi_unmap_pxm_to_node(int);
18
19#endif /* CONFIG_ACPI_NUMA */
20#endif /* __ACP_NUMA_H */