summaryrefslogtreecommitdiff
path: root/kc
diff options
context:
space:
mode:
Diffstat (limited to 'kc')
-rw-r--r--kc/core/cpu/irq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kc/core/cpu/irq.h b/kc/core/cpu/irq.h
index 9734860..529f385 100644
--- a/kc/core/cpu/irq.h
+++ b/kc/core/cpu/irq.h
@@ -19,9 +19,9 @@ void irq_unlock(void);
.macro IRQ_DEFINE name:req handler:req, irq:req
\name\()_irq\()\irq\()_isr:
ISR_STORE_PARAM_REGS
- movb \irq, %dil
ISR_STORE_CALLER_REGS
ISR_STORE_CALLEE_REGS
+ mov $\irq, %di
ISR_CALL \handler
ISR_RESTORE_CALLEE_REGS
ISR_RESTORE_CALLER_REGS