summaryrefslogtreecommitdiffstats
path: root/hw/intc/i8259.c
diff options
context:
space:
mode:
authorPaolo Bonzini2019-12-12 17:15:43 +0100
committerPaolo Bonzini2019-12-17 19:33:49 +0100
commit852c27e2ba99939e13a8e87f0d1a43aaec805f56 (patch)
tree9d55fd3c7eff15b99b3497447b1b8de1f0a39ca8 /hw/intc/i8259.c
parentfw_cfg: allow building without other devices (diff)
downloadqemu-852c27e2ba99939e13a8e87f0d1a43aaec805f56.tar.gz
qemu-852c27e2ba99939e13a8e87f0d1a43aaec805f56.tar.xz
qemu-852c27e2ba99939e13a8e87f0d1a43aaec805f56.zip
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/intc/i8259.c')
-rw-r--r--hw/intc/i8259.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/i8259.c b/hw/intc/i8259.c
index 211a98962e..51b27f6a34 100644
--- a/hw/intc/i8259.c
+++ b/hw/intc/i8259.c
@@ -23,7 +23,7 @@
*/
#include "qemu/osdep.h"
-#include "hw/i386/pc.h"
+#include "hw/intc/i8259.h"
#include "hw/irq.h"
#include "hw/isa/isa.h"
#include "qemu/timer.h"