1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #include <linux/linkage.h>
- #include <asm/thread_info.h>
- #include <asm/errno.h>
- #include <asm/blackfin.h>
- #include <asm/asm-offsets.h>
- #include <asm/context.S>
- #ifdef CONFIG_EXCPT_IRQ_SYSC_L1
- .section .l1.text
- #else
- .text
- #endif
- ENTRY(_ret_from_fork)
- #ifdef CONFIG_IPIPE
-
- p0.l = ___ipipe_root_status;
- p0.h = ___ipipe_root_status;
- r4 = [p0];
- bitset(r4, 0);
- [p0] = r4;
-
- p0.l = _bfin_irq_flags;
- p0.h = _bfin_irq_flags;
- r4 = [p0];
- sti r4;
- #endif
- SP += -12;
- pseudo_long_call _schedule_tail, p5;
- SP += 12;
- p1 = [sp++];
- r0 = [sp++];
- cc = p1 == 0;
- if cc jump .Lfork;
- sp += -12;
- call (p1);
- sp += 12;
- .Lfork:
- RESTORE_CONTEXT
- rti;
- ENDPROC(_ret_from_fork)
|