aboutsummaryrefslogtreecommitdiff
path: root/target-xtensa/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-xtensa/cpu-qom.h')
-rw-r--r--target-xtensa/cpu-qom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-xtensa/cpu-qom.h b/target-xtensa/cpu-qom.h
index 30506cf6d5..31e7498181 100644
--- a/target-xtensa/cpu-qom.h
+++ b/target-xtensa/cpu-qom.h
@@ -73,7 +73,7 @@ typedef struct XtensaCPU {
static inline XtensaCPU *xtensa_env_get_cpu(const CPUXtensaState *env)
{
- return XTENSA_CPU(container_of(env, XtensaCPU, env));
+ return container_of(env, XtensaCPU, env);
}
#define ENV_GET_CPU(e) CPU(xtensa_env_get_cpu(e))