diff --git a/kernel/src/irq.rs b/kernel/src/irq.rs index 825805dcc..f4935c45d 100644 --- a/kernel/src/irq.rs +++ b/kernel/src/irq.rs @@ -50,7 +50,7 @@ pub fn interrupt_claim( // Unsafe is required since we're accessing a static mut array. // However, we disable interrupts to prevent contention on this array. unsafe { - arch::irq::enable_all_irqs(); + arch::irq::disable_all_irqs(); let result = if irq > IRQ_HANDLERS.len() { Err(xous_kernel::Error::InterruptNotFound) } else if IRQ_HANDLERS[irq].is_some() {