Blackfin: inline I-pipe bypass code in ret_from_exception
Signed-off-by: Philippe Gerum <rpm@xenomai.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
committed by
Mike Frysinger
parent
9ea7770fdb
commit
f4e129399c
@@ -164,11 +164,6 @@ out:
|
|||||||
__clear_bit(IPIPE_STALL_FLAG, &p->status);
|
__clear_bit(IPIPE_STALL_FLAG, &p->status);
|
||||||
}
|
}
|
||||||
|
|
||||||
int __ipipe_check_root(void)
|
|
||||||
{
|
|
||||||
return ipipe_root_domain_p;
|
|
||||||
}
|
|
||||||
|
|
||||||
void __ipipe_enable_irqdesc(struct ipipe_domain *ipd, unsigned irq)
|
void __ipipe_enable_irqdesc(struct ipipe_domain *ipd, unsigned irq)
|
||||||
{
|
{
|
||||||
struct irq_desc *desc = irq_to_desc(irq);
|
struct irq_desc *desc = irq_to_desc(irq);
|
||||||
|
@@ -840,13 +840,13 @@ ENDPROC(_resume)
|
|||||||
|
|
||||||
ENTRY(_ret_from_exception)
|
ENTRY(_ret_from_exception)
|
||||||
#ifdef CONFIG_IPIPE
|
#ifdef CONFIG_IPIPE
|
||||||
[--sp] = rets;
|
p2.l = _per_cpu__ipipe_percpu_domain;
|
||||||
SP += -12;
|
p2.h = _per_cpu__ipipe_percpu_domain;
|
||||||
call ___ipipe_check_root
|
r0.l = _ipipe_root;
|
||||||
SP += 12
|
r0.h = _ipipe_root;
|
||||||
rets = [sp++];
|
r2 = [p2];
|
||||||
cc = r0 == 0;
|
cc = r0 == r2;
|
||||||
if cc jump 4f; /* not on behalf of Linux, get out */
|
if !cc jump 4f; /* not on behalf of the root domain, get out */
|
||||||
#endif /* CONFIG_IPIPE */
|
#endif /* CONFIG_IPIPE */
|
||||||
p2.l = lo(IPEND);
|
p2.l = lo(IPEND);
|
||||||
p2.h = hi(IPEND);
|
p2.h = hi(IPEND);
|
||||||
|
Reference in New Issue
Block a user