aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-02-24 16:59:17 +0100
committerAndreas Färber <afaerber@suse.de>2012-03-14 22:20:24 +0100
commit9b9a970a23625de4ae6b7461906a9a0d98d3ca95 (patch)
tree3e7df84d770e12aa0a3c61113d3066f32ba3b9de
parentf3840919e9c8a43ab2ca1138368f5ee38cce5da1 (diff)
target-lm32/microblaze: Typedef struct CPU{MB,LM32}State
Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--target-lm32/cpu.h1
-rw-r--r--target-microblaze/cpu.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/target-lm32/cpu.h b/target-lm32/cpu.h
index b6b6b4c87a..cc9b53bdfe 100644
--- a/target-lm32/cpu.h
+++ b/target-lm32/cpu.h
@@ -28,6 +28,7 @@
#include "qemu-common.h"
#include "cpu-defs.h"
struct CPULM32State;
+typedef struct CPULM32State CPULM32State;
#define TARGET_HAS_ICE 1
diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
index 409250649d..94ec43b3a3 100644
--- a/target-microblaze/cpu.h
+++ b/target-microblaze/cpu.h
@@ -29,6 +29,7 @@
#include "cpu-defs.h"
#include "softfloat.h"
struct CPUMBState;
+typedef struct CPUMBState CPUMBState;
#if !defined(CONFIG_USER_ONLY)
#include "mmu.h"
#endif