aboutsummaryrefslogtreecommitdiff
path: root/target-alpha/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-alpha/cpu-qom.h')
-rw-r--r--target-alpha/cpu-qom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-alpha/cpu-qom.h b/target-alpha/cpu-qom.h
index 6b4ca6d1d1..5de9a4830b 100644
--- a/target-alpha/cpu-qom.h
+++ b/target-alpha/cpu-qom.h
@@ -66,6 +66,6 @@ static inline AlphaCPU *alpha_env_get_cpu(CPUAlphaState *env)
}
#define ENV_GET_CPU(e) CPU(alpha_env_get_cpu(e))
-
+#define CPU_GET_ENV(c) (&ALPHA_CPU(c)->env)
#endif