diff options
author | Will Deacon <will.deacon@arm.com> | 2013-08-12 19:04:05 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-08-13 21:22:44 +0200 |
commit | 00efaa0250939dc148e2d3104fb3c18395d24a2d (patch) | |
tree | 2d3f9322f15171499a6b579a1a06d6497dc5ba08 /arch/arm/kernel/smp.c | |
parent | ARM: 7811/1: locks: use early clobber in arch_spin_trylock (diff) | |
download | linux-00efaa0250939dc148e2d3104fb3c18395d24a2d.tar.xz linux-00efaa0250939dc148e2d3104fb3c18395d24a2d.zip |
ARM: 7812/1: rwlocks: retry trylock operation if strex fails on free lock
Commit 15e7e5c1ebf5 ("ARM: 7749/1: spinlock: retry trylock operation if
strex fails on free lock") modifying our arch_spin_trylock to retry the
acquisition if the lock appeared uncontended, but the strex failed.
This patch does the same for rwlocks, which were missed by the original
patch.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions