]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
hw/acpi/acpi_dev_interface: Remove now unused #include "hw/boards.h"
authorBernhard Beschow <shentey@gmail.com>
Fri, 8 Sep 2023 08:42:30 +0000 (10:42 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 4 Oct 2023 22:15:05 +0000 (18:15 -0400)
The "hw/boards.h" is unused since the previous commit. Since its removal
requires include fixes in various unrelated files to keep the code compiling it
has been split in a dedicated commit.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230908084234.17642-5-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/cpu.c
hw/acpi/hmat.c
hw/acpi/hmat.h
hw/acpi/memory_hotplug.c
include/hw/acpi/acpi_dev_interface.h

index 65a3202d3f70cacbde737cdee1298d5130ce5399..011d2c6c2ddf94f1b3f9af99436f99c11655deea 100644 (file)
@@ -1,6 +1,7 @@
 #include "qemu/osdep.h"
 #include "migration/vmstate.h"
 #include "hw/acpi/cpu.h"
+#include "hw/core/cpu.h"
 #include "qapi/error.h"
 #include "qapi/qapi-events-acpi.h"
 #include "trace.h"
index 2d5e199ba9994e43efcb33896b2b1d4af54f45b1..3042d223c825c361791b715d380acfe2582db9d2 100644 (file)
@@ -27,6 +27,7 @@
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "sysemu/numa.h"
+#include "hw/acpi/aml-build.h"
 #include "hw/acpi/hmat.h"
 
 /*
index b57f0e7e802b483b1ea512c70819420a5df31909..fd989cb661964dfb5613ad5063fc1f977a503849 100644 (file)
@@ -27,7 +27,8 @@
 #ifndef HMAT_H
 #define HMAT_H
 
-#include "hw/acpi/aml-build.h"
+#include "hw/acpi/bios-linker-loader.h"
+#include "sysemu/numa.h"
 
 /*
  * ACPI 6.3: 5.2.27.3 Memory Proximity Domain Attributes Structure,
index d926f4f77dd1ae9dc488fd169ea5237569d5f608..0b883df81336abed56e9f16ccfb6c1e50b24c58c 100644 (file)
@@ -1,6 +1,7 @@
 #include "qemu/osdep.h"
 #include "hw/acpi/memory_hotplug.h"
 #include "hw/mem/pc-dimm.h"
+#include "hw/boards.h"
 #include "hw/qdev-core.h"
 #include "migration/vmstate.h"
 #include "trace.h"
index ca92928124419d832e91b0e707bfddb1d5ab44d0..68d9d15f50aa7edcac9e23c235f7cf8503e861cd 100644 (file)
@@ -3,7 +3,6 @@
 
 #include "qapi/qapi-types-acpi.h"
 #include "qom/object.h"
-#include "hw/boards.h"
 #include "hw/qdev-core.h"
 
 /* These values are part of guest ABI, and can not be changed */