]> git.proxmox.com Git - mirror_qemu.git/commitdiff
nvdimm acpi: compile nvdimm acpi code arch-independently
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Fri, 28 Oct 2016 16:11:54 +0000 (00:11 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 1 Nov 2016 17:21:08 +0000 (19:21 +0200)
As the arch dependent info, TARGET_PAGE_SIZE, has been dropped
from nvdimm acpi code, it can be compiled arch-independently

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/Makefile.objs

index 4b7da6639fc0b4687e91a0d3495cf41b0262739d..489e63bb7527637be2de6fd4d5b02e1bd7ad1fcb 100644 (file)
@@ -3,7 +3,7 @@ common-obj-$(CONFIG_ACPI_X86_ICH) += ich9.o tco.o
 common-obj-$(CONFIG_ACPI_CPU_HOTPLUG) += cpu_hotplug.o
 common-obj-$(CONFIG_ACPI_MEMORY_HOTPLUG) += memory_hotplug.o memory_hotplug_acpi_table.o
 common-obj-$(CONFIG_ACPI_CPU_HOTPLUG) += cpu.o
-obj-$(CONFIG_ACPI_NVDIMM) += nvdimm.o
+common-obj-$(CONFIG_ACPI_NVDIMM) += nvdimm.o
 common-obj-$(CONFIG_ACPI) += acpi_interface.o
 common-obj-$(CONFIG_ACPI) += bios-linker-loader.o
 common-obj-$(CONFIG_ACPI) += aml-build.o