aboutsummaryrefslogtreecommitdiff
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
parent490f4edcdf64524fb29a758e381985b6b0cf002f (diff)
downloadqemu-449aa4a4915f4d2f43126eec6031cfc96ef06687.zip
qemu-449aa4a4915f4d2f43126eec6031cfc96ef06687.tar.gz
qemu-449aa4a4915f4d2f43126eec6031cfc96ef06687.tar.bz2
Revert "ioapic: when switches to level trigger mode, interrupts raised repeatedly."
This reverts commit 9bcfc7daabb138b0fe3d64d74892942d482e5bbd.
-rw-r--r--hw/ioapic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ioapic.c b/hw/ioapic.c
index 8557e5c..569327d 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;
}
}
}