diff options
author | Andreas Färber <afaerber@suse.de> | 2013-01-18 14:20:52 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-02-16 14:50:59 +0100 |
commit | cb3fb38e91caacfcb0f86e8c587ed74ffa34fe8e (patch) | |
tree | bdc3a36985be3c3a98065c29b1d7250b14d458ff /hw/mcf_intc.c | |
parent | 9a6ee9fd35483446fe14e083fa335358c86ba595 (diff) |
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/mcf_intc.c')
-rw-r--r-- | hw/mcf_intc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mcf_intc.c b/hw/mcf_intc.c index 450f622e9d..b213656300 100644 --- a/hw/mcf_intc.c +++ b/hw/mcf_intc.c @@ -40,7 +40,7 @@ static void mcf_intc_update(mcf_intc_state *s) } } s->active_vector = ((best == 64) ? 24 : (best + 64)); - m68k_set_irq_level(&s->cpu->env, best_level, s->active_vector); + m68k_set_irq_level(s->cpu, best_level, s->active_vector); } static uint64_t mcf_intc_read(void *opaque, hwaddr addr, |