alpha: include cpu-qom.h in files that require AlphaCPU
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Mar 2016 13:32:19 +0000 (14:32 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 May 2016 14:42:27 +0000 (16:42 +0200)
This 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/alpha/alpha_sys.h
hw/alpha/pci.c

index e11025b4be603d3021d7911381185a07b061e86c..fcaeb2b7aaa83c8f04cd010af8e982ff1fa960c4 100644 (file)
@@ -3,6 +3,7 @@
 #ifndef HW_ALPHA_H
 #define HW_ALPHA_H 1
 
+#include "target-alpha/cpu-qom.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_host.h"
 #include "hw/ide.h"
index 5baa0eaf1584855fca321c10f4dd6d28e4b0b92c..8dde637bfe23a02cffbe96a80493dccd53a89352 100644 (file)
@@ -8,7 +8,6 @@
 
 #include "qemu/osdep.h"
 #include "qemu-common.h"
-#include "cpu.h"
 #include "alpha_sys.h"
 #include "qemu/log.h"
 #include "sysemu/sysemu.h"