Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754737AbZAHQnm (ORCPT ); Thu, 8 Jan 2009 11:43:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751570AbZAHQne (ORCPT ); Thu, 8 Jan 2009 11:43:34 -0500 Received: from pfepa.post.tele.dk ([195.41.46.235]:40860 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751400AbZAHQne (ORCPT ); Thu, 8 Jan 2009 11:43:34 -0500 Date: Thu, 8 Jan 2009 17:45:14 +0100 From: Sam Ravnborg To: Peter Zijlstra Cc: Jiri Kosina , Adam Osuchowski , linux-kernel@vger.kernel.org, Ingo Molnar , Nick Piggin , Alan Cox Subject: Re: Is 386 processor still supported? Message-ID: <20090108164514.GA18409@uranus.ravnborg.org> References: <20090108120338.6b8b4567@zonk.pl> <1231424025.11687.447.camel@twins> <1231424833.11687.452.camel@twins> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1231424833.11687.452.camel@twins> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1293 Lines: 31 On Thu, Jan 08, 2009 at 03:27:13PM +0100, Peter Zijlstra wrote: > On Thu, 2009-01-08 at 15:21 +0100, Jiri Kosina wrote: > > On Thu, 8 Jan 2009, Peter Zijlstra wrote: > > > > > > Subject: x86: make spinlocks available on machines without xadd insn > > > > Current kernel wouldn't compile on ancient x86 machines that don't support > > > > xadd instruction, as ticket spinlocks implementation unconditionally uses > > > > it. > > > > On machines without CONFIG_X86_XADD, use old-style byte spinlock > > > > implementation instead. > > > afaik we don't support i386-smp and up spinlocks are trivial > > > preempt_disable() calls. > > > > Hmm. Where in Kconfig is SMP for M386 not allowed? > > Dunno, kconfig is too much of a jungle for a simple person like me ;-) Kconfig for x86 does nothing to prevent us from selecting SMP when we have selected the 386 processor variant. But then you need to enable the CONFIG_EXPERT(*) option to select CPU type - which imply you know what you are doing. (*) Named CONFIG_EMBEDDED for some reason. Sam -- 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/