diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-09 22:27:45 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-15 01:30:25 +0200 |
commit | 8f54bcacbc39f883bde2210cf2754e5d198f55a4 (patch) | |
tree | 1ed53a3cf864bd6372021d4384b70070da23345c /arch/mips/kernel/entry.S | |
parent | Linux 3.7-rc1 (diff) | |
download | linux-8f54bcacbc39f883bde2210cf2754e5d198f55a4.tar.xz linux-8f54bcacbc39f883bde2210cf2754e5d198f55a4.zip |
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.S | 7 |
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: 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 |