]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - linux-user/cpu_loop-common.h
target/rx: TCG helpers
[thirdparty/qemu.git] / linux-user / cpu_loop-common.h
index c1d554a2499371ce108fa41856601c2e1201fc4a..8828af28a4d99a137d69e41328a7d469e280188b 100644 (file)
@@ -24,7 +24,7 @@
 
 #define EXCP_DUMP(env, fmt, ...)                                        \
 do {                                                                    \
-    CPUState *cs = ENV_GET_CPU(env);                                    \
+    CPUState *cs = env_cpu(env);                                        \
     fprintf(stderr, fmt , ## __VA_ARGS__);                              \
     cpu_dump_state(cs, stderr, 0);                                      \
     if (qemu_log_separate()) {                                          \