aboutsummaryrefslogtreecommitdiff
path: root/hw/mips/mips_int.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mips/mips_int.c')
-rw-r--r--hw/mips/mips_int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips/mips_int.c b/hw/mips/mips_int.c
index 3a78999e02..0e5e86699c 100644
--- a/hw/mips/mips_int.c
+++ b/hw/mips/mips_int.c
@@ -40,7 +40,7 @@ static void cpu_mips_irq_request(void *opaque, int irq, int level)
}
if (env->CP0_Cause & CP0Ca_IP_mask) {
- cpu_interrupt(env, CPU_INTERRUPT_HARD);
+ cpu_interrupt(cs, CPU_INTERRUPT_HARD);
} else {
cpu_reset_interrupt(cs, CPU_INTERRUPT_HARD);
}