aboutsummaryrefslogtreecommitdiff
path: root/target/tricore/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/tricore/cpu.h')
-rw-r--r--target/tricore/cpu.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/target/tricore/cpu.h b/target/tricore/cpu.h
index bccde45a07..5d3072f2db 100644
--- a/target/tricore/cpu.h
+++ b/target/tricore/cpu.h
@@ -25,10 +25,6 @@
#include "exec/cpu-defs.h"
#include "tricore-defs.h"
-#define CPUArchState struct CPUTriCoreState
-
-struct CPUTriCoreState;
-
struct tricore_boot_info;
typedef struct tricore_def_t tricore_def_t;
@@ -382,7 +378,7 @@ static inline int cpu_mmu_index(CPUTriCoreState *env, bool ifetch)
return 0;
}
-
+typedef CPUTriCoreState CPUArchState;
#include "exec/cpu-all.h"