]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7447/1: rwlocks: remove unused branch labels from trylock routines
authorWill Deacon <will.deacon@arm.com>
Fri, 6 Jul 2012 14:44:13 +0000 (15:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 9 Jul 2012 16:41:10 +0000 (17:41 +0100)
commit6a5042ba52ea64c5881ed3c74c76ee0efbc36071
tree4c4a28b0954881898f79b8d6fce9f022caffc98d
parenta3e9395afb05e420eee43a84ce29b3654aa1e11e
ARM: 7447/1: rwlocks: remove unused branch labels from trylock routines

The ARM arch_{read,write}_trylock implementations include unused
backwards branch labels, since we don't retry the locking operation
if the exclusive store fails.

This patch removes the labels.

Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/spinlock.h