aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-host
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-12-12 17:15:43 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-12-17 19:33:49 +0100
commit852c27e2ba99939e13a8e87f0d1a43aaec805f56 (patch)
tree9d55fd3c7eff15b99b3497447b1b8de1f0a39ca8 /hw/pci-host
parentb54f33c4e07758f05ead2c27a2dcd1c1b87a34e7 (diff)
downloadqemu-852c27e2ba99939e13a8e87f0d1a43aaec805f56.zip
qemu-852c27e2ba99939e13a8e87f0d1a43aaec805f56.tar.gz
qemu-852c27e2ba99939e13a8e87f0d1a43aaec805f56.tar.bz2
hw: replace hw/i386/pc.h with a header just for the i8259
Remove the need to include i386/pc.h to get to the i8259 functions. This is enough to remove the inclusion of hw/i386/pc.h from all non-x86 files. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/pci-host')
-rw-r--r--hw/pci-host/bonito.c1
-rw-r--r--hw/pci-host/prep.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/hw/pci-host/bonito.c b/hw/pci-host/bonito.c
index 4692d41..cc6545c 100644
--- a/hw/pci-host/bonito.c
+++ b/hw/pci-host/bonito.c
@@ -41,7 +41,6 @@
#include "qemu/osdep.h"
#include "qemu/error-report.h"
#include "hw/pci/pci.h"
-#include "hw/i386/pc.h"
#include "hw/irq.h"
#include "hw/mips/mips.h"
#include "hw/pci/pci_host.h"
diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c
index 85d7ba9..afa136d 100644
--- a/hw/pci-host/prep.c
+++ b/hw/pci-host/prep.c
@@ -32,7 +32,7 @@
#include "hw/pci/pci_host.h"
#include "hw/qdev-properties.h"
#include "migration/vmstate.h"
-#include "hw/i386/pc.h"
+#include "hw/intc/i8259.h"
#include "hw/irq.h"
#include "hw/loader.h"
#include "hw/or-irq.h"