aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/entry.S
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-09 16:27:45 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-14 19:30:25 -0400
commit8f54bcacbc39f883bde2210cf2754e5d198f55a4 (patch)
tree1ed53a3cf864bd6372021d4384b70070da23345c /arch/mips/kernel/entry.S
parentddffeb8c4d0331609ef2581d84de4d763607bd37 (diff)
mips: switch to generic kernel_thread()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mips/kernel/entry.S')
-rw-r--r--arch/mips/kernel/entry.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/kernel/entry.S b/arch/mips/kernel/entry.S
index a6c133212003..aab6997b8f47 100644
--- a/arch/mips/kernel/entry.S
+++ b/arch/mips/kernel/entry.S
@@ -65,6 +65,13 @@ need_resched:
65 b need_resched 65 b need_resched
66#endif 66#endif
67 67
68FEXPORT(ret_from_kernel_thread)
69 jal schedule_tail # a0 = struct task_struct *prev
70 move a0, s1
71 jal s0
72 li a0, 0
73 j sys_exit
74
68FEXPORT(ret_from_fork) 75FEXPORT(ret_from_fork)
69 jal schedule_tail # a0 = struct task_struct *prev 76 jal schedule_tail # a0 = struct task_struct *prev
70 77