From: Mike Frysinger Date: Wed, 23 Apr 2008 21:56:07 +0000 (+0800) Subject: [Blackfin] arch: make the mask explicit rather than writing a negative number in hex X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16428a4fa99d273fe27aaee7a847a9cfd5466fda;p=linux-2.6 [Blackfin] arch: make the mask explicit rather than writing a negative number in hex Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu --- diff --git a/arch/blackfin/mach-common/lock.S b/arch/blackfin/mach-common/lock.S index 28b87fe9ce..30b887e67d 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;