From 2161a612b4e1d388046320bc464adefd6bba01a0 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 22 Mar 2019 15:56:19 -0700 Subject: cpu: Define ArchCPU For all targets, do this just before including exec/cpu-all.h. Reviewed-by: Peter Maydell Acked-by: Alistair Francis Signed-off-by: Richard Henderson --- target/xtensa/cpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'target/xtensa') diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h index e164e18f18..6e6fb1d893 100644 --- a/target/xtensa/cpu.h +++ b/target/xtensa/cpu.h @@ -800,6 +800,7 @@ static inline void cpu_get_tb_cpu_state(CPUXtensaState *env, target_ulong *pc, } typedef CPUXtensaState CPUArchState; +typedef XtensaCPU ArchCPU; #include "exec/cpu-all.h" -- cgit v1.2.3