Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965232AbWBHWtH (ORCPT ); Wed, 8 Feb 2006 17:49:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965234AbWBHWtH (ORCPT ); Wed, 8 Feb 2006 17:49:07 -0500 Received: from mailout.stusta.mhn.de ([141.84.69.5]:44804 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S965232AbWBHWtF (ORCPT ); Wed, 8 Feb 2006 17:49:05 -0500 Date: Wed, 8 Feb 2006 23:49:04 +0100 From: Adrian Bunk To: "Chen, Kenneth W" Cc: Jes Sorensen , "'Keith Owens'" , "Luck, Tony" , linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [2.6 patch] let IA64_GENERIC select more stuff Message-ID: <20060208224904.GT3524@stusta.de> References: <20060208213825.GQ3524@stusta.de> <200602082224.k18MOpg24612@unix-os.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200602082224.k18MOpg24612@unix-os.sc.intel.com> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1908 Lines: 53 On Wed, Feb 08, 2006 at 02:24:51PM -0800, Chen, Kenneth W wrote: > Adrian Bunk wrote on Wednesday, February 08, 2006 1:38 PM > > > Not really, it helps a bit by selecting some things we know we need > > > for all GENERIC builds. True we can't make it bullet proof, but whats > > > there is better than removing it. > > > > Like the bug of allowing the illegal configuration NUMA=y, FLATMEM=y? > > > You can't even compile a kernel with that combination ... > Just about every arch except ia64 turns off ARCH_FLATMEM_ENABLE if NUMA=y. > ia64 can just do the same thing. Instead of mucking around with select, > fix the bug at its source. The real culprit is in mm/Kconfig, it shouldn't > enable ARCH_FLATMEM_ENABLE if NUMA=y. No, the bug is exactly the part of arch/ia64/Kconfig you are patching, because mm/Kconfig simply relies on architectures setting the right dependencies for ARCH_FLATMEM_ENABLE. > Fix ARCH_FLATMEM_ENABLE dependency in ia64 arch. > > Signed-off-by: Ken Chen > > --- ./arch/ia64/Kconfig.orig 2006-02-08 14:57:40.597354431 -0800 > +++ ./arch/ia64/Kconfig 2006-02-08 15:04:15.552427718 -0800 > @@ -298,7 +298,8 @@ config ARCH_DISCONTIGMEM_ENABLE > See for more. > > config ARCH_FLATMEM_ENABLE > - def_bool y > + depends on !NUMA > + def_bool y if !NUMA >... Only one of the two NUMA dependencies is required. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/