summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-04-23 23:56:07 +0200
committerBryan Wu <cooloney@kernel.org>2008-04-23 23:56:07 +0200
commit16428a4fa99d273fe27aaee7a847a9cfd5466fda (patch)
tree424780d7eb7ceed48eaa4f782ded94b1e826cfb1 /arch/blackfin
parent[Blackfin] arch: cplb-mpu code clean up (diff)
downloadlinux-16428a4fa99d273fe27aaee7a847a9cfd5466fda.tar.xz
linux-16428a4fa99d273fe27aaee7a847a9cfd5466fda.zip
[Blackfin] arch: make the mask explicit rather than writing a negative number in hex
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-common/lock.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/lock.S b/arch/blackfin/mach-common/lock.S
index 28b87fe9ce3c..30b887e67dd6 100644
--- a/arch/blackfin/mach-common/lock.S
+++ b/arch/blackfin/mach-common/lock.S
@@ -174,7 +174,7 @@ ENTRY(_cache_lock)
CLI R3;
R7 = [P1];
- R2 = 0xFFFFFF87 (X);
+ R2 = ~(0x78) (X); /* mask out ILOC */
R7 = R7 & R2;
R0 = R0 << 3;
R7 = R0 | R7;