Skip to content

Commit

Permalink
[Blackfin] arch: make the mask explicit rather than writing a negativ…
Browse files Browse the repository at this point in the history
…e number in hex

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Apr 23, 2008
1 parent 4e354b5 commit 16428a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/blackfin/mach-common/lock.S
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 16428a4

Please sign in to comment.