explicitly include qom/cpu.h
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Dec 2015 10:10:07 +0000 (11:10 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 May 2016 14:42:27 +0000 (16:42 +0200)
exec/cpu-all.h includes qom/cpu.h.  Explicit inclusion
will keep things working when cpu.h will not be included
indirectly almost everywhere (either directly or through
qemu-common.h).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/acpi/piix4.c
hw/arm/collie.c
hw/cpu/a9mpcore.c
hw/isa/lpc_ich9.c
include/hw/ppc/openpic.h

index 16abdf1624097fd81d5bdc1f171c7ff946623f5c..b3e3bb306a71bae4f54d95d9772f1649ce41053b 100644 (file)
@@ -39,6 +39,7 @@
 #include "hw/acpi/memory_hotplug.h"
 #include "hw/acpi/acpi_dev_interface.h"
 #include "hw/xen/xen.h"
+#include "qom/cpu.h"
 
 //#define DEBUG
 
index 8bb308a42e4001fae9978f48cbc04f8148416647..2e6953128753446b93b3aaf33b2631b0e575584d 100644 (file)
@@ -18,6 +18,7 @@
 #include "hw/block/flash.h"
 #include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
+#include "qom/cpu.h"
 
 static struct arm_boot_info collie_binfo = {
     .loader_start = SA_SDCS0,
index 5459ae8c1bc713c41b1c355fa8359070f84c0101..f17f292090d9c9e49544fb1731bff9af8e1cb72f 100644 (file)
@@ -11,6 +11,7 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "hw/cpu/a9mpcore.h"
+#include "qom/cpu.h"
 
 static void a9mp_priv_set_irq(void *opaque, int irq, int level)
 {
index 99cd3ba9e1644e36ab23ea2695e7c7eb7b0e3c7d..4f8ca45f6dbb2996ffba54afc645d583ccbb1c1f 100644 (file)
@@ -47,6 +47,7 @@
 #include "hw/pci/pci_bus.h"
 #include "exec/address-spaces.h"
 #include "sysemu/sysemu.h"
+#include "qom/cpu.h"
 
 static int ich9_lpc_sci_irq(ICH9LPCState *lpc);
 
index ee67098cbc216dbe959f7f5983aee5087aa6eadb..1cf188d81c6721d4efc7b03a377f126479afea23 100644 (file)
@@ -3,6 +3,7 @@
 
 #include "qemu-common.h"
 #include "hw/qdev.h"
+#include "qom/cpu.h"
 
 #define TYPE_OPENPIC "openpic"
 
This page took 0.039724 seconds and 4 git commands to generate.