aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/entry.S')
-rw-r--r--arch/sparc/kernel/entry.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sparc/kernel/entry.S b/arch/sparc/kernel/entry.S
index dc089702e00a..6114672a1b0e 100644
--- a/arch/sparc/kernel/entry.S
+++ b/arch/sparc/kernel/entry.S
@@ -983,6 +983,16 @@ ret_from_fork:
983 b ret_sys_call 983 b ret_sys_call
984 ld [%sp + STACKFRAME_SZ + PT_I0], %o0 984 ld [%sp + STACKFRAME_SZ + PT_I0], %o0
985 985
986 .globl ret_from_kernel_thread
987ret_from_kernel_thread:
988 call schedule_tail
989 ld [%g3 + TI_TASK], %o0
990 ld [%sp + STACKFRAME_SZ + PT_G1], %l0
991 call %l0
992 ld [%sp + STACKFRAME_SZ + PT_G2], %o0
993 call do_exit /* won't return */
994 clr %o0
995
986 /* Linux native system calls enter here... */ 996 /* Linux native system calls enter here... */
987 .align 4 997 .align 4
988 .globl linux_sparc_syscall 998 .globl linux_sparc_syscall