ARM: bitops: switch set/clear/change bitops to use ldrex/strex
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 18 Mar 2011 23:48:03 +0000 (16:48 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 18 Mar 2011 23:48:03 +0000 (16:48 -0700)
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>

No differences found