]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: bitops: switch set/clear/change bitops to use ldrex/strex
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 16 Jan 2011 18:02:17 +0000 (18:02 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 2 Feb 2011 21:23:25 +0000 (21:23 +0000)
commit6323f0ccedf756dfe5f46549cec69a2d6d97937b
tree091e3408c12bbce33ef5d708b6131132b9660d4d
parenta16ede35a2659170c855c5d267776666c0630f1f
ARM: bitops: switch set/clear/change bitops to use ldrex/strex

Switch the set/clear/change bitops to use the word-based exclusive
operations, which are only present in a wider range of ARM architectures
than the byte-based exclusive operations.

Tested record:
- Nicolas Pitre: ext3,rw,le
- Sourav Poddar: nfs,le
- Will Deacon: ext3,rw,le
- Tony Lindgren: ext3+nfs,le

Reviewed-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Tested-by: Sourav Poddar <sourav.poddar@ti.com>
Tested-by: Will Deacon <will.deacon@arm.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/bitops.h
arch/arm/kernel/armksyms.c
arch/arm/lib/bitops.h
arch/arm/lib/changebit.S
arch/arm/lib/clearbit.S
arch/arm/lib/setbit.S
arch/arm/lib/testchangebit.S
arch/arm/lib/testclearbit.S
arch/arm/lib/testsetbit.S