diff options
author | Philippe Gerum <rpm@xenomai.org> | 2009-06-22 16:26:22 (GMT) |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-09-17 01:28:42 (GMT) |
commit | f4e129399c9ead8ec37910ce9793813698c2df51 (patch) | |
tree | df38720ee6bf3e2561d48754222ead051ecf7570 /arch/blackfin/mach-common/entry.S | |
parent | 9ea7770fdb0d6742d6a0aba62facda4b35356cf2 (diff) | |
download | linux-f4e129399c9ead8ec37910ce9793813698c2df51.tar.xz |
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>
Diffstat (limited to 'arch/blackfin/mach-common/entry.S')
-rw-r--r-- | arch/blackfin/mach-common/entry.S | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S index 2c58b60..cbc5b6d 100644 --- a/arch/blackfin/mach-common/entry.S +++ b/arch/blackfin/mach-common/entry.S @@ -840,13 +840,13 @@ ENDPROC(_resume) ENTRY(_ret_from_exception) #ifdef CONFIG_IPIPE - [--sp] = rets; - SP += -12; - call ___ipipe_check_root - SP += 12 - rets = [sp++]; - cc = r0 == 0; - if cc jump 4f; /* not on behalf of Linux, get out */ + p2.l = _per_cpu__ipipe_percpu_domain; + p2.h = _per_cpu__ipipe_percpu_domain; + r0.l = _ipipe_root; + r0.h = _ipipe_root; + r2 = [p2]; + cc = r0 == r2; + if !cc jump 4f; /* not on behalf of the root domain, get out */ #endif /* CONFIG_IPIPE */ p2.l = lo(IPEND); p2.h = hi(IPEND); |