diff options
Diffstat (limited to 'target-cris/cpu-qom.h')
-rw-r--r-- | target-cris/cpu-qom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-cris/cpu-qom.h b/target-cris/cpu-qom.h index e08bdb1ec7..af7d14de4b 100644 --- a/target-cris/cpu-qom.h +++ b/target-cris/cpu-qom.h @@ -66,7 +66,7 @@ typedef struct CRISCPU { static inline CRISCPU *cris_env_get_cpu(CPUCRISState *env) { - return CRIS_CPU(container_of(env, CRISCPU, env)); + return container_of(env, CRISCPU, env); } #define ENV_GET_CPU(e) CPU(cris_env_get_cpu(e)) |