aboutsummaryrefslogtreecommitdiff
path: root/x86_64/interrupt.S
diff options
context:
space:
mode:
Diffstat (limited to 'x86_64/interrupt.S')
-rw-r--r--x86_64/interrupt.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/x86_64/interrupt.S b/x86_64/interrupt.S
index fe2b3858..31f386ec 100644
--- a/x86_64/interrupt.S
+++ b/x86_64/interrupt.S
@@ -59,10 +59,10 @@ ENTRY(interrupt)
movl S_IRQ,%eax /* copy irq number */
shll $2,%eax /* irq * 4 */
- movl EXT(iunit)(%eax),%edi /* get device unit number as 1st arg */
+ movl EXT(iunit)(%rax),%edi /* get device unit number as 1st arg */
shll $1,%eax /* irq * 8 */
- call *EXT(ivect)(%eax) /* call interrupt handler */
+ call *EXT(ivect)(%rax) /* call interrupt handler */
movl S_IPL,%edi /* restore previous ipl */
call splx_cli /* restore previous ipl */