From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 08/14] ARM: v6k: select cmpxchg code sequences according to V6 variants Date: Mon, 17 Jan 2011 15:18:24 -0800 Message-ID: <20110117231823.GG4957@atomide.com> References: <20110117192050.GE23331@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:41122 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753108Ab1AQXSg (ORCPT ); Mon, 17 Jan 2011 18:18:36 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Russell King - ARM Linux Cc: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org * Russell King - ARM Linux [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 Acked-by: Tony Lindgren From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Mon, 17 Jan 2011 15:18:24 -0800 Subject: [PATCH 08/14] ARM: v6k: select cmpxchg code sequences according to V6 variants In-Reply-To: References: <20110117192050.GE23331@n2100.arm.linux.org.uk> Message-ID: <20110117231823.GG4957@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Russell King - ARM Linux [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 Acked-by: Tony Lindgren