Skip to content
Commit 00efaa02 authored by Will Deacon's avatar Will Deacon Committed by Russell King
Browse files

ARM: 7812/1: rwlocks: retry trylock operation if strex fails on free lock

Commit 15e7e5c1

 ("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: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent afa31d8e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment