summaryrefslogtreecommitdiff
path: root/arch/i386/boot
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/boot')
-rw-r--r--arch/i386/boot/isr.s5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/i386/boot/isr.s b/arch/i386/boot/isr.s
index 76afa9f..893dd1f 100644
--- a/arch/i386/boot/isr.s
+++ b/arch/i386/boot/isr.s
@@ -51,8 +51,7 @@ isr_frame_asm:
movl %cr4, %eax
pushl %eax
- lea -8(%esp), %edi
- pushl %edi
+ pushl %esp
call interrupt_handler
popl %eax
@@ -71,7 +70,7 @@ isr_frame_asm:
popl %ebx
popl %eax
- addl $4, %esp
+ addl $20, %esp
iret
isr_no_err_stub 0