ppc: do not redefine CPUPPCState
PATCH 1/1 ppc: do not redefine CPUPPCState
Just include the file that is supposed to bring it in.
Cc David Gibson <[email protected]>
Signed-off-by Paolo Bonzini <[email protected]>
---
I'm including this in my pull request to fix a clang warning.
include/hw/ppc/fdt.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
include/hw/ppc/fdt.h +1 -2
@@ -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 { \
Signature · 1 line
1.8.3.1
David Gibson
AppliedQuoted 1 line · Paolo Bonzini
Just include the file that is supposed to bring it in.
Applied to ppc-for-2.8, thanks.
Quoted 22 lines
Cc David Gibson <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>---
I'm including this in my pull request to fix a clang warning.include/hw/ppc/fdt.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)include/hw/ppc/fdt.h +1
-2@@ -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 { \
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson