summaryrefslogtreecommitdiff
path: root/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/boot/idt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/i386/boot/idt.c b/arch/i386/boot/idt.c
index d4251eb..99fc532 100644
--- a/arch/i386/boot/idt.c
+++ b/arch/i386/boot/idt.c
@@ -60,7 +60,8 @@ void exception_handler(struct isr_frame *frame) {
}
}
-void irq_dispatch(uint8_t irq, struct isr_frame *frame) {
+void irq_dispatch(struct isr_frame *frame) {
+ pic_eoi(frame->vector-32);
return;
}