summaryrefslogtreecommitdiff
path: root/kern/syscall_asm.S
diff options
context:
space:
mode:
Diffstat (limited to 'kern/syscall_asm.S')
-rw-r--r--kern/syscall_asm.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/syscall_asm.S b/kern/syscall_asm.S
index ca1c5a5..f3b3552 100644
--- a/kern/syscall_asm.S
+++ b/kern/syscall_asm.S
@@ -26,8 +26,8 @@ sys_\name:
mov $SEGSEL_KERNEL_FS, %eax
mov %ax, %fs
cld
- push $\index
push %esp
+ push $\index
call pv_handle_syscall
add $0x8, %esp
test %eax, %eax
@@ -98,8 +98,8 @@ sys_\name:
mov $SEGSEL_KERNEL_FS, %eax
mov %ax, %fs
cld
- push $\index
push %esp
+ push $\index
call pv_handle_syscall
add $0x8, %esp
jmp return_to_user /* check pending exit before iret */