[PATCH 08/14] ARM: v6k: select cmpxchg code sequences according to V6 variants

Tony Lindgren tony at atomide.com
Mon Jan 17 18:18:24 EST 2011


* Russell King - ARM Linux <linux at arm.linux.org.uk> [110117 11:23]:
> If CONFIG_CPU_V6 is enabled, we must avoid the byte/halfword/doubleword
> exclusive operations, which aren't implemented before V6K.  Use the
> generic versions (or omit them) instead.
> 
> If CONFIG_CPU_V6 is not set, but CONFIG_CPU_32v6K is enabled, we have
> the K extnesions, so use these new instructions.
> 
> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

Acked-by: Tony Lindgren <tony at atomide.com>



More information about the linux-arm-kernel mailing list