Skip to content

Commit

Permalink
hw/acpi/cpu_hotplug: Include 'pci_device.h' instead of 'pci.h'
Browse files Browse the repository at this point in the history
cpu_hotplug.c only needs the PCI *device* definitions.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Luc Michel <luc.michel@amd.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
  • Loading branch information
philmd authored and Michael Tokarev committed Feb 20, 2024
1 parent 0a1e084 commit 480c9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/acpi/cpu_hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "qapi/error.h"
#include "hw/core/cpu.h"
#include "hw/i386/pc.h"
#include "hw/pci/pci.h"
#include "hw/pci/pci_device.h"
#include "qemu/error-report.h"

#define CPU_EJECT_METHOD "CPEJ"
Expand Down

0 comments on commit 480c9b2

Please sign in to comment.