From: Ben Collins Date: Wed, 31 Mar 2004 01:37:48 +0000 Subject: Re: [PATCH] Add config option for '-mcpu=v8' Message-Id: <20040331013748.GG13168@phunnypharm.org> List-Id: References: <20040331013528.GA6522@artsapartment.org> In-Reply-To: <20040331013528.GA6522@artsapartment.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sparclinux@vger.kernel.org On Tue, Mar 30, 2004 at 07:35:28PM -0600, Art Haas wrote: > Hi. > > Here are two small patches that allow you to configure your kernel build > so that an '-mcpu=v8' option is passed to the compiler. I've built the > 2.6.5-rc3 stuff with this flag in the compile command, and the kernels > both run. I'd hacked the flag in initially; this patch makes it a nice > configuration option. Comments on the Kconfig wording welcomed. As Dave told me before when I tried this, it is pointless. The sparc kernel patches in the hw versions of the muldiv functions at kernel startup anyway, so passing -mcpu=v8 is just a waste. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ WatchGuard - http://www.watchguard.com/