summaryrefslogtreecommitdiff
path: root/arch/microblaze/kernel/entry-nommu.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/kernel/entry-nommu.S')
-rw-r--r--arch/microblaze/kernel/entry-nommu.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/microblaze/kernel/entry-nommu.S b/arch/microblaze/kernel/entry-nommu.S
index c47e92cd7e78..8957c7760c47 100644
--- a/arch/microblaze/kernel/entry-nommu.S
+++ b/arch/microblaze/kernel/entry-nommu.S
@@ -479,8 +479,8 @@ ENTRY(ret_from_kernel_thread)
addk r5, r0, r3
brald r15, r20
addk r5, r0, r19
- brid sys_exit /* won't be returning... */
- addk r5, r0, r0
+ brid ret_to_user
+ addk r3, r0, r0
work_pending:
enable_irq