From: Russell King Date: Mon, 17 Jan 2011 15:42:42 +0000 (+0000) Subject: ARM: v6k: select cmpxchg code sequences according to V6 variants X-Git-Tag: v2.6.39-rc1~463^2~1^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ed67a53591db641543d57f31c182591a429dc93;p=pandora-kernel.git ARM: v6k: select cmpxchg code sequences according to V6 variants 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. Acked-by: Tony Lindgren Tested-by: Sourav Poddar Tested-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed