From: Will Deacon Date: Mon, 12 Aug 2013 17:04:05 +0000 (+0100) Subject: ARM: 7812/1: rwlocks: retry trylock operation if strex fails on free lock X-Git-Tag: v3.11-rc6~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00efaa0250939dc148e2d3104fb3c18395d24a2d;p=pandora-kernel.git 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 Signed-off-by: Russell King --- Reading git-diff-tree failed