diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-06 21:52:37 +0400 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2012-11-16 11:44:57 +0400 |
commit | 2319295dd8dbd076afa136bffb797ef726b605a0 (patch) | |
tree | 9699149edbd77d16d8c41914677068ab6cde167c /arch/microblaze/kernel/entry-nommu.S | |
parent | fd11ff7380fe7c61f55e6caf33982edeab3fbc19 (diff) | |
download | linux-2319295dd8dbd076afa136bffb797ef726b605a0.tar.xz |
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.S | 8 |
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 |