Skip to contentSkip to conversation

acpi: move x86/mm/srat.c to x86/kernel/acpi/srat.c

PATCH New liguang 1 participant 1 message Feb 26, 2013

Subsystems (3)
lore
Share & tools
lore

liguang

author
#0 lore raw

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.

---
 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
index 163b225..98cea92 100644
@@ -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
index 23d8e5f..d6f3692 100644
@@ -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