aboutsummaryrefslogtreecommitdiff
path: root/hw/pl011.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl011.c')
-rw-r--r--hw/pl011.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pl011.c b/hw/pl011.c
index e66741b7af..94ed6994d7 100644
--- a/hw/pl011.c
+++ b/hw/pl011.c
@@ -44,7 +44,7 @@ static const unsigned char pl011_id[] =
static void pl011_update(pl011_state *s)
{
uint32_t flags;
-
+
flags = s->int_level & s->int_enabled;
qemu_set_irq(s->irq, flags != 0);
}