Commit fc9afb99 authored by Philippe Gerum's avatar Philippe Gerum Committed by Mike Frysinger
Browse files

Blackfin: reuse evt_evt14 handler to perform irqtail epilogue


Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 9703a73c
...@@ -276,33 +276,11 @@ ENTRY(___ipipe_call_irqtail) ...@@ -276,33 +276,11 @@ ENTRY(___ipipe_call_irqtail)
( r7:4, p5:3 ) = [sp++]; ( r7:4, p5:3 ) = [sp++];
rets = [sp++]; rets = [sp++];
[--sp] = reti;
reti = [sp++]; /* IRQs are off. */
r0.h = 3f;
r0.l = 3f;
p0.l = lo(EVT14);
p0.h = hi(EVT14);
[p0] = r0;
csync;
r0 = 0x401f (z); r0 = 0x401f (z);
sti r0; sti r0;
raise 14; raise 14; /* Branches to _evt_evt14 */
[--sp] = reti; /* IRQs on. */
2: 2:
jump 2b; /* Likely paranoid. */ jump 2b; /* Likely paranoid. */
3:
sp += 4; /* Discard saved RETI */
r0.h = _evt14_softirq;
r0.l = _evt14_softirq;
p0.l = lo(EVT14);
p0.h = hi(EVT14);
[p0] = r0;
csync;
p0.l = _bfin_irq_flags;
p0.h = _bfin_irq_flags;
r0 = [p0];
sti r0;
rts;
ENDPROC(___ipipe_call_irqtail) ENDPROC(___ipipe_call_irqtail)
#endif /* CONFIG_IPIPE */ #endif /* CONFIG_IPIPE */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment