[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] ppc: do not redefine CPUPPCState
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH] ppc: do not redefine CPUPPCState |
Date: |
Tue, 13 Sep 2016 18:43:47 +0200 |
Just include the file that is supposed to bring it in.
Cc: David Gibson <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
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(-)
diff --git a/include/hw/ppc/fdt.h b/include/hw/ppc/fdt.h
index 2c68d16..0cabb6a 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 { \
--
1.8.3.1
- [Qemu-devel] [PATCH] ppc: do not redefine CPUPPCState,
Paolo Bonzini <=