aboutsummaryrefslogtreecommitdiff
path: root/hw/ioapic.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-04-04 07:14:03 +0200
committerAurelien Jarno <aurelien@aurel32.net>2011-04-04 07:14:03 +0200
commit449aa4a4915f4d2f43126eec6031cfc96ef06687 (patch)
tree5b063868b30e586119bb4045b683cad96ee557cf /hw/ioapic.c
parent490f4edcdf64524fb29a758e381985b6b0cf002f (diff)
Revert "ioapic: when switches to level trigger mode, interrupts raised repeatedly."
This reverts commit 9bcfc7daabb138b0fe3d64d74892942d482e5bbd.
Diffstat (limited to 'hw/ioapic.c')
-rw-r--r--hw/ioapic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ioapic.c b/hw/ioapic.c
index 8557e5cac6..569327d1e9 100644
--- a/hw/ioapic.c
+++ b/hw/ioapic.c
@@ -164,7 +164,6 @@ static void ioapic_set_irq(void *opaque, int vector, int level)
if (level) {
s->irr |= mask;
ioapic_service(s);
- s->irr &= ~mask;
}
}
}