aboutsummaryrefslogtreecommitdiff
path: root/linux-user/cpu_loop-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/cpu_loop-common.h')
-rw-r--r--linux-user/cpu_loop-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/cpu_loop-common.h b/linux-user/cpu_loop-common.h
index c1d554a249..8828af28a4 100644
--- a/linux-user/cpu_loop-common.h
+++ b/linux-user/cpu_loop-common.h
@@ -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()) { \