Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S273030AbTHKSnM (ORCPT ); Mon, 11 Aug 2003 14:43:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S273028AbTHKSlg (ORCPT ); Mon, 11 Aug 2003 14:41:36 -0400 Received: from pix-525-pool.redhat.com ([66.187.233.200]:29388 "EHLO lacrosse.corp.redhat.com") by vger.kernel.org with ESMTP id S273027AbTHKSlX (ORCPT ); Mon, 11 Aug 2003 14:41:23 -0400 Date: Mon, 11 Aug 2003 19:40:47 +0100 From: Dave Jones To: Roman Zippel Cc: torvalds@osdl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] sort the cache shift options. Message-ID: <20030811184047.GA3884@redhat.com> Mail-Followup-To: Dave Jones , Roman Zippel , torvalds@osdl.org, linux-kernel@vger.kernel.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1301 Lines: 32 On Mon, Aug 11, 2003 at 08:31:52PM +0200, Roman Zippel wrote: > > diff -urpN --exclude-from=/home/davej/.exclude bk-linus/arch/i386/Kconfig linux-2.5/arch/i386/Kconfig > > --- bk-linus/arch/i386/Kconfig 2003-08-06 16:39:02.000000000 +0100 > > +++ linux-2.5/arch/i386/Kconfig 2003-08-08 00:38:44.000000000 +0100 > > @@ -322,10 +322,10 @@ config X86_XADD > > > > config X86_L1_CACHE_SHIFT > > int > > - default "7" if MPENTIUM4 || X86_GENERIC > > default "4" if MELAN || M486 || M386 > > default "5" if MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCRUSOE || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2 > > default "6" if MK7 || MK8 > > + default "7" if MPENTIUM4 || X86_GENERIC > > > > config RWSEM_GENERIC_SPINLOCK > > bool > > The order does matter, in this case we want to override the cpu selection > with X86_GENERIC. Ohhh. Ok, I see how that works. Bit icky though, and non-obvious to someone stupid like me. Dave -- Dave Jones http://www.codemonkey.org.uk - 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/