ACPI / NUMA: move bad_srat() and srat_disabled() to drivers/acpi/numa.c

bad_srat() and srat_disabled() are shared by x86 and follow-on arm64
patches.  Move them to drivers/acpi/numa.c in preparation for arm64
support.

Signed-off-by: Hanjun Guo <[email protected]>
Signed-off-by: Robert Richter <[email protected]>
[[email protected] moved definitions to drivers/acpi/numa.c]
Signed-off-by: David Daney <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
David Daney 2016-05-24 15:35:39 -07:00 • committed by Rafael J. Wysocki
commit e84025e274
5 changed files with 17 additions and 15 deletions

View file

@ -15,6 +15,10 @@ extern int pxm_to_node(int);
extern int node_to_pxm(int);
extern int acpi_map_pxm_to_node(int);
extern unsigned char acpi_srat_revision;
extern int acpi_numa __initdata;
extern void bad_srat(void);
extern int srat_disabled(void);
#endif /* CONFIG_ACPI_NUMA */
#endif /* __ACP_NUMA_H */