aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device/intr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/device/intr.c b/device/intr.c
index 9035c036..0d13acf7 100644
--- a/device/intr.c
+++ b/device/intr.c
@@ -307,6 +307,10 @@ intr_thread (void)
e->n_unacked--;
}
+ /* Account for all interrupts that could not be delivered */
+ irqtab.tot_num_intr -= e->interrupts;
+ e->interrupts = 0;
+
#if 0
#ifndef LINUX_DEV
// TODO: remove from the action list