projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e354b5
)
[Blackfin] arch: make the mask explicit rather than writing a negative number in hex
author
Mike Frysinger
<vapier.adi@gmail.com>
Wed, 23 Apr 2008 21:56:07 +0000
(
05:56
+0800)
committer
Bryan Wu
<cooloney@kernel.org>
Wed, 23 Apr 2008 21:56:07 +0000
(
05:56
+0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mach-common/lock.S
patch
|
blob
|
history
diff --git
a/arch/blackfin/mach-common/lock.S
b/arch/blackfin/mach-common/lock.S
index
28b87fe
..
30b887e
100644
(file)
--- 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;