aboutsummaryrefslogtreecommitdiff
path: root/target-unicore32/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-unicore32/cpu-qom.h')
-rw-r--r--target-unicore32/cpu-qom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-unicore32/cpu-qom.h b/target-unicore32/cpu-qom.h
index 7eec4481c2..350d48034c 100644
--- a/target-unicore32/cpu-qom.h
+++ b/target-unicore32/cpu-qom.h
@@ -53,7 +53,7 @@ typedef struct UniCore32CPU {
static inline UniCore32CPU *uc32_env_get_cpu(CPUUniCore32State *env)
{
- return UNICORE32_CPU(container_of(env, UniCore32CPU, env));
+ return container_of(env, UniCore32CPU, env);
}
#define ENV_GET_CPU(e) CPU(uc32_env_get_cpu(e))