[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>
This commit is contained in:
Mike Frysinger 2008-04-24 05:56:07 +08:00 committed by Bryan Wu
parent 4e354b5499
commit 16428a4fa9

View file

@ -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;