From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 10/14] ARM: v6k: select TLS register code according to V6 variants Date: Mon, 17 Jan 2011 15:21:21 -0800 Message-ID: <20110117232121.GI4957@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-02-ewr.mailhop.org ([204.13.248.72]:32385 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750990Ab1AQXVf (ORCPT ); Mon, 17 Jan 2011 18:21:35 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Nicolas Pitre Cc: Russell King - ARM Linux , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org * Nicolas Pitre [110117 14:22]: > On Mon, 17 Jan 2011, Russell King - ARM Linux wrote: > > > If CONFIG_CPU_V6 is enabled, we may or may not have the TLS register. > > Use the conditional code which copes with this variability. Otherwise, > > if CONFIG_CPU_32v6K is set, we know we have the TLS register on all > > supported CPUs, so use it unconditionally. > > > > Signed-off-by: Russell King > > Acked-by: Nicolas Pitre 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:21:21 -0800 Subject: [PATCH 10/14] ARM: v6k: select TLS register code according to V6 variants In-Reply-To: References: <20110117192050.GE23331@n2100.arm.linux.org.uk> Message-ID: <20110117232121.GI4957@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Nicolas Pitre [110117 14:22]: > On Mon, 17 Jan 2011, Russell King - ARM Linux wrote: > > > If CONFIG_CPU_V6 is enabled, we may or may not have the TLS register. > > Use the conditional code which copes with this variability. Otherwise, > > if CONFIG_CPU_32v6K is set, we know we have the TLS register on all > > supported CPUs, so use it unconditionally. > > > > Signed-off-by: Russell King > > Acked-by: Nicolas Pitre Acked-by: Tony Lindgren