aboutsummaryrefslogtreecommitdiff
path: root/target-mips/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-mips/cpu-qom.h')
-rw-r--r--target-mips/cpu-qom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/cpu-qom.h b/target-mips/cpu-qom.h
index a7ff9e6ee1..654744a45b 100644
--- a/target-mips/cpu-qom.h
+++ b/target-mips/cpu-qom.h
@@ -67,7 +67,7 @@ typedef struct MIPSCPU {
static inline MIPSCPU *mips_env_get_cpu(CPUMIPSState *env)
{
- return MIPS_CPU(container_of(env, MIPSCPU, env));
+ return container_of(env, MIPSCPU, env);
}
#define ENV_GET_CPU(e) CPU(mips_env_get_cpu(e))