aboutsummaryrefslogtreecommitdiff
path: root/target/m68k/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/m68k/cpu.h')
-rw-r--r--target/m68k/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/m68k/cpu.h b/target/m68k/cpu.h
index e99c102302..4465a66145 100644
--- a/target/m68k/cpu.h
+++ b/target/m68k/cpu.h
@@ -25,8 +25,6 @@
#include "exec/cpu-defs.h"
#include "cpu-qom.h"
-#define CPUArchState struct CPUM68KState
-
#define OS_BYTE 0
#define OS_WORD 1
#define OS_LONG 2
@@ -538,6 +536,8 @@ void m68k_cpu_transaction_failed(CPUState *cs, hwaddr physaddr, vaddr addr,
int mmu_idx, MemTxAttrs attrs,
MemTxResult response, uintptr_t retaddr);
+typedef CPUM68KState CPUArchState;
+
#include "exec/cpu-all.h"
/* TB flags */