Messages in this thread Patch in this message | | | Date | Tue, 25 May 2004 19:21:02 +0200 | From | Kronos <> | Subject | Re: i486 emu in mainline? |
| |
Christoph Hellwig <hch@lst.de> ha scritto: > --- kernel-source-2.6.6/arch/i386/Kconfig 2004-05-10 19:47:45.000000000 +1000 > +++ kernel-source-2.6.6-1/arch/i386/Kconfig 2004-05-10 22:21:08.000000000 +1000 > @@ -330,6 +330,41 @@ > This is really intended for distributors who need more > generic optimizations. > > +config X86_EMU486 > + bool "486 emulation" > + help
Hi, what about adding an explicit dependancy from M386/M486? A kernel compiled for 486 or higher won't boot on 386 anyway so the emulation code would be useless.
diff -Nru a/arch/i386/Kconfig b/arch/i386/Kconfig --- a/arch/i386/Kconfig 2004-05-25 19:07:16.000000000 +0200 +++ b/arch/i386/Kconfig 2004-05-25 19:10:59.000000000 +0200 @@ -332,6 +332,7 @@ config X86_EMU486 bool "486 emulation" + depends on M386 || M486 help When used on a 386, Linux can emulate 3 instructions from the 486 set. This allows user space programs compiled for 486 to run on a
Signed-off-by: Luca Tettamanti <kronos@kronoz.cjb.net> (just in case ;) )
Luca -- Home: http://kronoz.cjb.net Windows /win'dohz/ n. : thirty-two bit extension and graphical shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor which was written by a two-bit company that can't stand a bit of competition. - 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/
| |