aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin/kernel/entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/kernel/entry.S')
-rw-r--r--arch/blackfin/kernel/entry.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/entry.S b/arch/blackfin/kernel/entry.S
index c0c3fe81122..a9cfba9946b 100644
--- a/arch/blackfin/kernel/entry.S
+++ b/arch/blackfin/kernel/entry.S
@@ -42,6 +42,10 @@
#endif
ENTRY(_ret_from_fork)
+#ifdef CONFIG_IPIPE
+ [--sp] = reti; /* IRQs on. */
+ SP += 4;
+#endif /* CONFIG_IPIPE */
SP += -12;
call _schedule_tail;
SP += 12;