__xchg for sizes other than 32bit

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Mar 10 12:35:03 EST 2010


On Wed, Mar 10, 2010 at 06:22:21PM +0200, Imre Deak wrote:
> recently you've added support for __cmpxchg for ARMv6+. There the assumption
> is that ldrex[bh]/strex[bh] is only supported on platforms with the 32v6K
> extension.
> 
> Currently the __xchg code uses these even without the extension. Should this
> be fixed?



More information about the linux-arm-kernel mailing list