Skip to content

Commit

Permalink
hw/acpi/acpi_dev_interface: Remove now unused #include "hw/boards.h"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
shentok authored and mstsirkin committed Oct 4, 2023
1 parent f300620 commit cb00fba
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions hw/acpi/cpu.c
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 1 addition & 0 deletions hw/acpi/hmat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

/*
Expand Down
3 changes: 2 additions & 1 deletion hw/acpi/hmat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions hw/acpi/memory_hotplug.c
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 0 additions & 1 deletion include/hw/acpi/acpi_dev_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit cb00fba

Please sign in to comment.