mips: switch to generic kernel_thread()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2012-10-09 16:27:45 -04:00
parent ddffeb8c4d
commit 8f54bcacbc
5 changed files with 30 additions and 44 deletions

View File

@@ -65,6 +65,13 @@ need_resched:
b need_resched
#endif
FEXPORT(ret_from_kernel_thread)
jal schedule_tail # a0 = struct task_struct *prev
move a0, s1
jal s0
li a0, 0
j sys_exit
FEXPORT(ret_from_fork)
jal schedule_tail # a0 = struct task_struct *prev