aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/entry.S
diff options
context:
space:
mode:
authorRobin Getz <robin.getz@analog.com>2007-12-21 04:49:53 -0500
committerBryan Wu <bryan.wu@analog.com>2007-12-21 04:49:53 -0500
commitd5c4b5e3b2682a9aac07a43a8a79d3b692b22567 (patch)
tree61fe8536694803ff450829a365247acb671abb65 /arch/blackfin/mach-common/entry.S
parent6f3ed704b03b2f9997b604690ac43a3514105a6a (diff)
[Blackfin] arch: Let the pre-processor do the math to save a few cycles - no functional changes
Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mach-common/entry.S')
-rw-r--r--arch/blackfin/mach-common/entry.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S
index 1b25b57c8c05..58f7ad617992 100644
--- a/arch/blackfin/mach-common/entry.S
+++ b/arch/blackfin/mach-common/entry.S
@@ -633,9 +633,7 @@ ENTRY(_ret_from_exception)
633 [sp + PT_IPEND] = r0; 633 [sp + PT_IPEND] = r0;
634 634
6351: 6351:
636 r1 = 0x37(Z); 636 r2 = LO(~0x37) (Z);
637 r2 = ~r1;
638 r2.h = 0;
639 r0 = r2 & r0; 637 r0 = r2 & r0;
640 cc = r0 == 0; 638 cc = r0 == 0;
641 if !cc jump 4f; /* if not return to user mode, get out */ 639 if !cc jump 4f; /* if not return to user mode, get out */