From: Russell King Date: Mon, 17 Jan 2011 15:35:37 +0000 (+0000) Subject: ARM: v6k: select clear exclusive code seqences according to V6 variants X-Git-Tag: v2.6.39-rc1~463^2~1^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7db44c75a241c18d03e82540c5b825216d4c668b;p=pandora-kernel.git ARM: v6k: select clear exclusive code seqences according to V6 variants If CONFIG_CPU_V6 is enabled, then the kernel must support ARMv6 CPUs which don't have the V6K extensions implemented. Always use the dummy store-exclusive method to ensure that the exclusive monitors are cleared. If CONFIG_CPU_V6 is not set, but CONFIG_CPU_32v6K is enabled, then we have the K extensions available on all CPUs we're building support for, so we can use the new clear-exclusive instruction. Acked-by: Tony Lindgren Tested-by: Sourav Poddar Tested-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed