commit | 00efaa0250939dc148e2d3104fb3c18395d24a2d | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Mon Aug 12 18:04:05 2013 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Aug 13 20:22:44 2013 +0100 |
tree | 2d3f9322f15171499a6b579a1a06d6497dc5ba08 | |
parent | afa31d8eb86fc2f25083e675d57ac8173a98f999 [diff] |
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>