acpi: move x86/mm/srat.c to x86/kernel/acpi/srat.c
PATCH 1/4 acpi: move x86/mm/srat.c to x86/kernel/acpi/srat.c
srat table should present only on acpi domain,
seems mm/ is not the right place for it.
Reviewed-by Yasuaki Ishimatsu <[email protected]>
Signed-off-by liguang <[email protected]>
--- arch/x86/kernel/acpi/Makefile | 1 + arch/x86/kernel/acpi/srat.c | 317 +++++++++++++++++++++++++++++++++++++++++ arch/x86/mm/Makefile | 1 - arch/x86/mm/srat.c | 317 ----------------------------------------- 4 files changed, 318 insertions(+), 318 deletions(-) create mode 100644 arch/x86/kernel/acpi/srat.c delete mode 100644 arch/x86/mm/srat.c
arch/x86/kernel/acpi/Makefile +1 -0
@@ -1,5 +1,6 @@ obj-$(CONFIG_ACPI) += boot.o obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup_$(BITS).o +obj-$(CONFIG_ACPI_NUMA) += srat.o ifneq ($(CONFIG_ACPI_PROCESSOR),) obj-y += cstate.o
arch/x86/kernel/acpi/srat.c new file +317 -0
317 lines not on this page · raw message
arch/x86/mm/Makefile +0 -1
@@ -24,7 +24,6 @@ obj-$(CONFIG_MMIOTRACE_TEST) += testmmiotrace.o obj-$(CONFIG_NUMA) += numa.o numa_$(BITS).o obj-$(CONFIG_AMD_NUMA) += amdtopology.o -obj-$(CONFIG_ACPI_NUMA) += srat.o obj-$(CONFIG_NUMA_EMU) += numa_emulation.o obj-$(CONFIG_MEMTEST) += memtest.o
arch/x86/mm/srat.c deleted +0 -317
317 lines not on this page · raw message
Signature · 1 line
1.7.2.5