2006-06-23 16:03:19 +07:00
|
|
|
#ifndef __ACPI_NUMA_H
|
|
|
|
#define __ACPI_NUMA_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_ACPI_NUMA
|
|
|
|
#include <linux/kernel.h>
|
2017-07-22 05:51:23 +07:00
|
|
|
#include <linux/numa.h>
|
2006-06-23 16:03:19 +07:00
|
|
|
|
|
|
|
/* Proximity bitmap length */
|
|
|
|
#if MAX_NUMNODES > 256
|
|
|
|
#define MAX_PXM_DOMAINS MAX_NUMNODES
|
|
|
|
#else
|
2007-05-10 10:34:35 +07:00
|
|
|
#define MAX_PXM_DOMAINS (256) /* Old pxm spec is defined 8 bit */
|
2006-06-23 16:03:19 +07:00
|
|
|
#endif
|
|
|
|
|
2007-05-17 12:11:06 +07:00
|
|
|
extern int pxm_to_node(int);
|
|
|
|
extern int node_to_pxm(int);
|
2007-05-25 03:57:40 +07:00
|
|
|
extern int acpi_map_pxm_to_node(int);
|
2012-01-17 16:18:02 +07:00
|
|
|
extern unsigned char acpi_srat_revision;
|
2016-05-25 05:35:39 +07:00
|
|
|
extern int acpi_numa __initdata;
|
|
|
|
|
|
|
|
extern void bad_srat(void);
|
|
|
|
extern int srat_disabled(void);
|
2006-06-23 16:03:19 +07:00
|
|
|
|
|
|
|
#endif /* CONFIG_ACPI_NUMA */
|
|
|
|
#endif /* __ACP_NUMA_H */
|