summaryrefslogtreecommitdiffstats
path: root/hw/mcf5206.c
diff options
context:
space:
mode:
authorAndreas Färber2013-01-18 14:20:52 +0100
committerAndreas Färber2013-02-16 14:50:59 +0100
commitcb3fb38e91caacfcb0f86e8c587ed74ffa34fe8e (patch)
treebdc3a36985be3c3a98065c29b1d7250b14d458ff /hw/mcf5206.c
parentmcf_intc: Pass M68kCPU to mcf_intc_init() (diff)
downloadqemu-cb3fb38e91caacfcb0f86e8c587ed74ffa34fe8e.tar.gz
qemu-cb3fb38e91caacfcb0f86e8c587ed74ffa34fe8e.tar.xz
qemu-cb3fb38e91caacfcb0f86e8c587ed74ffa34fe8e.zip
target-m68k: Pass M68kCPU to m68k_set_irq_level()
Simplifies use of cpu_reset_interrupt() et al. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/mcf5206.c')
-rw-r--r--hw/mcf5206.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mcf5206.c b/hw/mcf5206.c
index 9bb393e3d4..ea2db2325a 100644
--- a/hw/mcf5206.c
+++ b/hw/mcf5206.c
@@ -226,7 +226,7 @@ static void m5206_mbar_update(m5206_mbar_state *s)
level = 0;
vector = 0;
}
- m68k_set_irq_level(&s->cpu->env, level, vector);
+ m68k_set_irq_level(s->cpu, level, vector);
}
static void m5206_mbar_set_irq(void *opaque, int irq, int level)