diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-15 22:26:03 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-01 03:59:31 +0100 |
commit | ea4a1da9b2e6f419526b5fde15cd5563096368eb (patch) | |
tree | 470d747b0ea28293467292ac88f083e6b2370a29 /arch/m32r/kernel/entry.S | |
parent | Linux 3.7-rc1 (diff) | |
download | linux-ea4a1da9b2e6f419526b5fde15cd5563096368eb.tar.xz linux-ea4a1da9b2e6f419526b5fde15cd5563096368eb.zip |
m32r: switch to generic kernel_thread()/kernel_execve()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/m32r/kernel/entry.S')
-rw-r--r-- | arch/m32r/kernel/entry.S | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/m32r/kernel/entry.S b/arch/m32r/kernel/entry.S index 225412bc227e..0c01543f10cd 100644 --- a/arch/m32r/kernel/entry.S +++ b/arch/m32r/kernel/entry.S @@ -125,6 +125,15 @@ and \reg, sp .endm +ENTRY(ret_from_kernel_thread) + pop r0 + bl schedule_tail + GET_THREAD_INFO(r8) + ld r0, R0(r8) + ld r1, R1(r8) + jl r1 + bra syscall_exit + ENTRY(ret_from_fork) pop r0 bl schedule_tail |