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 e11025b..fcaeb2b 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 5baa0ea..8dde637 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"