From cb3fb38e91caacfcb0f86e8c587ed74ffa34fe8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Fri, 18 Jan 2013 14:20:52 +0100 Subject: target-m68k: Pass M68kCPU to m68k_set_irq_level() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Simplifies use of cpu_reset_interrupt() et al. Signed-off-by: Andreas Färber --- hw/mcf5206.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/mcf5206.c') 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) -- cgit v1.2.3