summaryrefslogtreecommitdiff
path: root/target-moxie/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-moxie/cpu.h')
-rw-r--r--target-moxie/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-moxie/cpu.h b/target-moxie/cpu.h
index 374b24af52..72d02c20c1 100644
--- a/target-moxie/cpu.h
+++ b/target-moxie/cpu.h
@@ -106,7 +106,7 @@ typedef struct MoxieCPU {
static inline MoxieCPU *moxie_env_get_cpu(CPUMoxieState *env)
{
- return MOXIE_CPU(container_of(env, MoxieCPU, env));
+ return container_of(env, MoxieCPU, env);
}
#define ENV_GET_CPU(e) CPU(moxie_env_get_cpu(e))