aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/kernel')
-rw-r--r--arch/tile/kernel/intvec_32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/kernel/intvec_32.S b/arch/tile/kernel/intvec_32.S
index cb52d66343ed..25966af74a28 100644
--- a/arch/tile/kernel/intvec_32.S
+++ b/arch/tile/kernel/intvec_32.S
@@ -1609,7 +1609,7 @@ ENTRY(sys_cmpxchg)
1609 * Because of C pointer arithmetic, we want to compute this: 1609 * Because of C pointer arithmetic, we want to compute this:
1610 * 1610 *
1611 * ((char*)atomic_locks + 1611 * ((char*)atomic_locks +
1612 * (((r0 >> 3) & (1 << (ATOMIC_HASH_SIZE - 1))) << 2)) 1612 * (((r0 >> 3) & ((1 << ATOMIC_HASH_SHIFT) - 1)) << 2))
1613 * 1613 *
1614 * Instead of two shifts we just ">> 1", and use 'mm' 1614 * Instead of two shifts we just ">> 1", and use 'mm'
1615 * to ignore the low and high bits we don't want. 1615 * to ignore the low and high bits we don't want.