From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Mon, 17 Jan 2011 15:15:22 -0800 Subject: [PATCH 07/14] ARM: v6k: select clear exclusive code seqences according to V6 variants In-Reply-To: References: <20110117192050.GE23331@n2100.arm.linux.org.uk> Message-ID: <20110117231522.GF4957@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Russell King - ARM Linux [110117 11:27]: > 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. > > Signed-off-by: Russell King Acked-by: Tony Lindgren