From 2e8b474d4219e7faaac3823e73c8d528c2698a37 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 14 Mar 2024 13:09:59 +0100 Subject: random changes made --- kernel/syscalls/install_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/syscalls/install_irq.c') diff --git a/kernel/syscalls/install_irq.c b/kernel/syscalls/install_irq.c index 4c990ee..5ad2ee6 100644 --- a/kernel/syscalls/install_irq.c +++ b/kernel/syscalls/install_irq.c @@ -16,7 +16,7 @@ void test_handler(reg_t *regs) { int syscall_install_irq(void (*irq_handler)(), u8 irq) { // TODO: This should be able to fail if the handler is already set - tmp = get_current_task(); + tmp = current_task; handler = irq_handler; install_handler(test_handler, INT_32_INTERRUPT_GATE(0x0), 0x20 + irq); return 1; -- cgit v1.2.3