aboutsummaryrefslogtreecommitdiff
path: root/target-microblaze/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-microblaze/cpu-qom.h')
-rw-r--r--target-microblaze/cpu-qom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-microblaze/cpu-qom.h b/target-microblaze/cpu-qom.h
index 3e9c20668f..ec2b989a23 100644
--- a/target-microblaze/cpu-qom.h
+++ b/target-microblaze/cpu-qom.h
@@ -64,7 +64,7 @@ typedef struct MicroBlazeCPU {
static inline MicroBlazeCPU *mb_env_get_cpu(CPUMBState *env)
{
- return MICROBLAZE_CPU(container_of(env, MicroBlazeCPU, env));
+ return container_of(env, MicroBlazeCPU, env);
}
#define ENV_GET_CPU(e) CPU(mb_env_get_cpu(e))