aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/ia32/ia32entry.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/ia32/ia32entry.S b/arch/x86/ia32/ia32entry.S
index 8022d3c695c0..30f492934f23 100644
--- a/arch/x86/ia32/ia32entry.S
+++ b/arch/x86/ia32/ia32entry.S
@@ -325,7 +325,7 @@ ENTRY(ia32_syscall)
325 jnz ia32_tracesys 325 jnz ia32_tracesys
326ia32_do_syscall: 326ia32_do_syscall:
327 cmpl $(IA32_NR_syscalls-1),%eax 327 cmpl $(IA32_NR_syscalls-1),%eax
328 ja ia32_badsys 328 ja int_ret_from_sys_call /* ia32_tracesys has set RAX(%rsp) */
329 IA32_ARG_FIXUP 329 IA32_ARG_FIXUP
330 call *ia32_sys_call_table(,%rax,8) # xxx: rip relative 330 call *ia32_sys_call_table(,%rax,8) # xxx: rip relative
331ia32_sysret: 331ia32_sysret:
@@ -335,7 +335,7 @@ ia32_sysret:
335ia32_tracesys: 335ia32_tracesys:
336 SAVE_REST 336 SAVE_REST
337 CLEAR_RREGS 337 CLEAR_RREGS
338 movq $-ENOSYS,RAX(%rsp) /* really needed? */ 338 movq $-ENOSYS,RAX(%rsp) /* ptrace can change this for a bad syscall */
339 movq %rsp,%rdi /* &pt_regs -> arg1 */ 339 movq %rsp,%rdi /* &pt_regs -> arg1 */
340 call syscall_trace_enter 340 call syscall_trace_enter
341 LOAD_ARGS32 ARGOFFSET /* reload args from stack in case ptrace changed it */ 341 LOAD_ARGS32 ARGOFFSET /* reload args from stack in case ptrace changed it */