diff options
author | Anton Kling <anton@kling.gg> | 2024-03-14 13:09:59 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-03-14 13:09:59 +0100 |
commit | 2e8b474d4219e7faaac3823e73c8d528c2698a37 (patch) | |
tree | 7d93b5fd220e8b703ba69f9b55122d15c9d619fb /kernel/syscalls/install_irq.c | |
parent | 051ac9f1941e8bc6ad87beccb61a2d53111ba8ea (diff) |
random changes made
Diffstat (limited to 'kernel/syscalls/install_irq.c')
-rw-r--r-- | kernel/syscalls/install_irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |