diff options
Diffstat (limited to 'arch/blackfin/kernel/entry.S')
-rw-r--r-- | arch/blackfin/kernel/entry.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/entry.S b/arch/blackfin/kernel/entry.S index faea88ebb2ef..a9cfba9946b5 100644 --- a/arch/blackfin/kernel/entry.S +++ b/arch/blackfin/kernel/entry.S | |||
@@ -30,6 +30,7 @@ | |||
30 | #include <linux/linkage.h> | 30 | #include <linux/linkage.h> |
31 | #include <asm/thread_info.h> | 31 | #include <asm/thread_info.h> |
32 | #include <asm/errno.h> | 32 | #include <asm/errno.h> |
33 | #include <asm/blackfin.h> | ||
33 | #include <asm/asm-offsets.h> | 34 | #include <asm/asm-offsets.h> |
34 | 35 | ||
35 | #include <asm/context.S> | 36 | #include <asm/context.S> |
@@ -41,6 +42,10 @@ | |||
41 | #endif | 42 | #endif |
42 | 43 | ||
43 | ENTRY(_ret_from_fork) | 44 | ENTRY(_ret_from_fork) |
45 | #ifdef CONFIG_IPIPE | ||
46 | [--sp] = reti; /* IRQs on. */ | ||
47 | SP += 4; | ||
48 | #endif /* CONFIG_IPIPE */ | ||
44 | SP += -12; | 49 | SP += -12; |
45 | call _schedule_tail; | 50 | call _schedule_tail; |
46 | SP += 12; | 51 | SP += 12; |