ACPI / NUMA: move acpi_numa_slit_init() to drivers/acpi/numa.c
authorHanjun Guo <hanjun.guo@linaro.org>
Tue, 24 May 2016 22:35:35 +0000 (15:35 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 May 2016 12:27:07 +0000 (14:27 +0200)
commit6525afdf53b39968f1a109b1ce1607ca6c98d300
tree5ab5e037f2b2e9bd666c12107b136911eb30dd9e
parent312521d0543513f37f0badb4efc7bfed2d99672e
ACPI / NUMA: move acpi_numa_slit_init() to drivers/acpi/numa.c

Identical implementations of acpi_numa_slit_init() are used by both
x86 and follow-on arm64 support.  Move it to drivers/acpi/numa.c, and
guard with CONFIG_X86 || CONFIG_ARM64 because ia64 has its own
architecture specific implementation.

No code change.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/mm/srat.c
drivers/acpi/numa.c