sh4: include cpu-qom.h in files that require SuperHCPU
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>
include/hw/sh4/sh.h

index e61de9a..070312d 100644 (file)
@@ -3,6 +3,7 @@
 /* Definitions for SH board emulation.  */
 
 #include "hw/sh4/sh_intc.h"
+#include "target-sh4/cpu-qom.h"
 
 #define A7ADDR(x) ((x) & 0x1fffffff)
 #define P4ADDR(x) ((x) | 0xe0000000)