From 5e7d7333914ed5a01d70d5859068faf03b6779f2 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 13 Oct 2012 02:35:21 -0400 Subject: c6x: switch to saner kernel_execve() semantics ACKed-by: Mark Salter Tested-by: Mark Salter Signed-off-by: Al Viro --- arch/c6x/kernel/entry.S | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'arch/c6x/kernel/entry.S') diff --git a/arch/c6x/kernel/entry.S b/arch/c6x/kernel/entry.S index 5449c36018f..75f6f36472c 100644 --- a/arch/c6x/kernel/entry.S +++ b/arch/c6x/kernel/entry.S @@ -413,19 +413,9 @@ ENTRY(ret_from_kernel_thread) 0: B .S2 B10 /* call fn */ LDW .D2T1 *+SP(REGS_A1+8),A4 /* get arg */ - MVKL .S2 sys_exit,B11 - MVKH .S2 sys_exit,B11 - ADDKPC .S2 0f,B3,1 -0: - BNOP .S2 B11,5 /* jump to sys_exit */ + ADDKPC .S2 ret_from_fork_2,B3,3 ENDPROC(ret_from_kernel_thread) -ENTRY(ret_from_kernel_execve) - GET_THREAD_INFO A12 - BNOP .S2 syscall_exit,4 - ADD .D2X A4,-8,SP -ENDPROC(ret_from_kernel_execve) - ;; ;; These are the interrupt handlers, responsible for calling __do_IRQ() ;; int6 is used for syscalls (see _system_call entry) -- cgit v1.2.3-70-g09d2