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.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/kern/syscall_asm.S b/kern/syscall_asm.S
index 5d63a39..ca1c5a5 100644
--- a/kern/syscall_asm.S
+++ b/kern/syscall_asm.S
@@ -28,10 +28,10 @@ sys_\name:
cld
push $\index
push %esp
- call handle_pv_syscall
+ call pv_handle_syscall
add $0x8, %esp
test %eax, %eax
- jne return_to_user
+ je return_to_user
push %esp
call sys_\name\()_real
add $0x4, %esp
@@ -100,7 +100,7 @@ sys_\name:
cld
push $\index
push %esp
- call handle_pv_syscall
+ call pv_handle_syscall
add $0x8, %esp
jmp return_to_user /* check pending exit before iret */
.endm