summaryrefslogtreecommitdiff
path: root/arch/microblaze/kernel/entry-nommu.S
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-06 13:52:37 -0400
committerMichal Simek <michal.simek@xilinx.com>2012-11-16 08:44:57 +0100
commit2319295dd8dbd076afa136bffb797ef726b605a0 (patch)
tree9699149edbd77d16d8c41914677068ab6cde167c /arch/microblaze/kernel/entry-nommu.S
parentfd11ff7380fe7c61f55e6caf33982edeab3fbc19 (diff)
microblaze: switch to generic kernel_thread()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/kernel/entry-nommu.S')
-rw-r--r--arch/microblaze/kernel/entry-nommu.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/entry-nommu.S b/arch/microblaze/kernel/entry-nommu.S
index 75c3ea1f48a1..c47e92cd7e78 100644
--- a/arch/microblaze/kernel/entry-nommu.S
+++ b/arch/microblaze/kernel/entry-nommu.S
@@ -474,6 +474,14 @@ ENTRY(ret_from_fork)
brid ret_to_user
nop
+ENTRY(ret_from_kernel_thread)
+ brlid r15, schedule_tail
+ addk r5, r0, r3
+ brald r15, r20
+ addk r5, r0, r19
+ brid sys_exit /* won't be returning... */
+ addk r5, r0, r0
+
work_pending:
enable_irq