From c70b4150732b6077419648bb460510a40183e2a8 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sun, 26 Nov 2023 18:25:41 -0600 Subject: arch: i386: idt.c: remove the irq number from handler Remove the irq number from the irq handler. This information is already stored in the ISR frame structure. Signed-off-by: Danny Holman --- arch/i386/boot/idt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arch/i386') 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; } -- cgit v1.2.3