summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kern/intr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/intr.c b/kern/intr.c
index ecc2edf2..2bbfb7c1 100644
--- a/kern/intr.c
+++ b/kern/intr.c
@@ -416,8 +416,6 @@ intr_handle(unsigned int intr)
goto out;
}
- intr_entry_eoi(entry, intr);
-
list_for_each_entry(&entry->handlers, handler, node) {
error = intr_handler_run(handler);
@@ -426,6 +424,8 @@ intr_handle(unsigned int intr)
}
}
+ intr_entry_eoi(entry, intr);
+
out:
spinlock_unlock(&entry->lock);
}