summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/slavio_intctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/slavio_intctl.c b/hw/slavio_intctl.c
index 288fb50f0a..456d9672e6 100644
--- a/hw/slavio_intctl.c
+++ b/hw/slavio_intctl.c
@@ -293,6 +293,7 @@ void slavio_pic_set_irq(void *opaque, int irq, int level)
if (level) {
s->intregm_pending |= mask;
s->intreg_pending[s->target_cpu] |= 1 << pil;
+ slavio_check_interrupts(s);
}
else {
s->intregm_pending &= ~mask;
@@ -300,7 +301,6 @@ void slavio_pic_set_irq(void *opaque, int irq, int level)
}
}
}
- slavio_check_interrupts(s);
}
void slavio_pic_set_irq_cpu(void *opaque, int irq, int level, unsigned int cpu)