summary refs log tree commit diff stats
path: root/include/hw/ppc
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-09-13 18:42:38 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-09-13 19:09:44 +0200
commit2286459d3ac19eb0697503282ce7830907d055ea (patch)
tree24f2a22d41468a97a2ae4d92f23d440a8259b7f0 /include/hw/ppc
parent78d6a05d2f69cbfa6e95f0a4a24a2c934969913b (diff)
downloadfocaccia-qemu-2286459d3ac19eb0697503282ce7830907d055ea.tar.gz
focaccia-qemu-2286459d3ac19eb0697503282ce7830907d055ea.zip
ppc: do not redefine CPUPPCState
Just include the file that is supposed to bring it in.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/ppc')
-rw-r--r--include/hw/ppc/fdt.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/hw/ppc/fdt.h b/include/hw/ppc/fdt.h
index 2c68d1616f..0cabb6af04 100644
--- a/include/hw/ppc/fdt.h
+++ b/include/hw/ppc/fdt.h
@@ -11,8 +11,7 @@
 #define PPC_FDT_H
 
 #include "qemu/error-report.h"
-
-typedef struct CPUPPCState CPUPPCState;
+#include "target-ppc/cpu-qom.h"
 
 #define _FDT(exp)                                                  \
     do {                                                           \