projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77f8c74
)
tile: fix comment bug in sys_cmpxchg description
author
Chris Metcalf
<cmetcalf@tilera.com>
Tue, 6 Aug 2013 18:32:49 +0000
(14:32 -0400)
committer
Chris Metcalf
<cmetcalf@tilera.com>
Mon, 12 Aug 2013 18:46:47 +0000
(14:46 -0400)
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/intvec_32.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/tile/kernel/intvec_32.S
b/arch/tile/kernel/intvec_32.S
index cb52d66343ed7aa72d3cc5e22535df5b3b6a0e2a..25966af74a28802d191fcff99a88176d5acec6be 100644
(file)
--- a/
arch/tile/kernel/intvec_32.S
+++ b/
arch/tile/kernel/intvec_32.S
@@
-1609,7
+1609,7
@@
ENTRY(sys_cmpxchg)
* Because of C pointer arithmetic, we want to compute this:
*
* ((char*)atomic_locks +
- * (((r0 >> 3) & (
1 << (ATOMIC_HASH_SIZE - 1)
)) << 2))
+ * (((r0 >> 3) & (
(1 << ATOMIC_HASH_SHIFT) - 1
)) << 2))
*
* Instead of two shifts we just ">> 1", and use 'mm'
* to ignore the low and high bits we don't want.