To allow pointer casts to the the multi-arch CPUArchState which
contains just the CPU_COMMON components.

Signed-off-by: Peter Crosthwaite <crosthwaite.pe...@gmail.com>
---
 target-microblaze/cpu.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
index dee645d..eaeb82f 100644
--- a/target-microblaze/cpu.h
+++ b/target-microblaze/cpu.h
@@ -230,6 +230,8 @@ typedef struct CPUMBState CPUMBState;
 #define STREAM_NONBLOCK  (1 << 4)
 
 struct CPUMBState {
+    CPU_COMMON
+
     uint32_t debug;
     uint32_t btaken;
     uint32_t btarget;
@@ -266,8 +268,6 @@ struct CPUMBState {
     /* Unified MMU.  */
     struct microblaze_mmu mmu;
 #endif
-
-    CPU_COMMON
 };
 
 #include "cpu-qom.h"
-- 
1.9.1


Reply via email to