projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bd7bc2
)
MIPS: spinlock: Adjust arch_spin_lock back-off time
author
Markos Chandras
<markos.chandras@imgtec.com>
Mon, 20 Apr 2015 09:54:34 +0000
(10:54 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 24 Jun 2015 12:57:46 +0000
(14:57 +0200)
Make it similar to the trylock and R10000_LLSC_WAR cases.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9789/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/spinlock.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/spinlock.h
b/arch/mips/include/asm/spinlock.h
index
7c7f3b2
..
9de4ba4
100644
(file)
--- a/
arch/mips/include/asm/spinlock.h
+++ b/
arch/mips/include/asm/spinlock.h
@@
-109,7
+109,7
@@
static inline void arch_spin_lock(arch_spinlock_t *lock)
" subu %[ticket], %[my_ticket], %[ticket] \n"
"2: \n"
" .subsection 2 \n"
- "4: andi %[ticket], %[ticket], 0x
1
fff \n"
+ "4: andi %[ticket], %[ticket], 0x
f
fff \n"
" sll %[ticket], 5 \n"
" \n"
"6: bnez %[ticket], 6b \n"