Messages in this thread | | | Date | Thu, 8 Jan 2009 17:45:14 +0100 | From | Sam Ravnborg <> | Subject | Re: Is 386 processor still supported? |
| |
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
| |