From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758402AbZBKRXk (ORCPT ); Wed, 11 Feb 2009 12:23:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757861AbZBKRXS (ORCPT ); Wed, 11 Feb 2009 12:23:18 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:37363 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757414AbZBKRXR (ORCPT ); Wed, 11 Feb 2009 12:23:17 -0500 Date: Wed, 11 Feb 2009 18:22:58 +0100 From: Ingo Molnar To: David Woodhouse Cc: x86 maintainers , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Don't override CONFIG_64BIT for ARCH={i386,x86_64} builds Message-ID: <20090211172258.GE13239@elte.hu> References: <1234372298.3586.23.camel@macbook.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1234372298.3586.23.camel@macbook.infradead.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * David Woodhouse wrote: > It is a steaming great pain in the arse when the value of CONFIG_64BIT > explicitly written in my .config file is overridden by the value of > $ARCH inferred from the environment. > > If I have a 32-bit .config and I happen to build it without remembering > to put 'ARCH=i386' on the make command line, it shouldn't force > CONFIG_64BIT=y and reconfigure. > > This patch should fix that, while still allowing defconfig to work as it > currently does for both 32-bit and 64-bit environments, and still giving > the default value of CONFIG_64BIT according to $ARCH. It's just that it > won't _force_ a change to CONFIG_64BIT when it's set to something other > than what $ARCH would imply. > > Signed-off-by: David Woodhouse Applied to tip:x86/ugent, thanks David! Ingo