summaryrefslogtreecommitdiff
path: root/target-lm32/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-lm32/cpu-qom.h')
-rw-r--r--target-lm32/cpu-qom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-lm32/cpu-qom.h b/target-lm32/cpu-qom.h
index 5ef884b97c..e3bb619dc3 100644
--- a/target-lm32/cpu-qom.h
+++ b/target-lm32/cpu-qom.h
@@ -64,7 +64,7 @@ typedef struct LM32CPU {
static inline LM32CPU *lm32_env_get_cpu(CPULM32State *env)
{
- return LM32_CPU(container_of(env, LM32CPU, env));
+ return container_of(env, LM32CPU, env);
}
#define ENV_GET_CPU(e) CPU(lm32_env_get_cpu(e))