]> err.no Git - linux-2.6/commit
[PATCH] uml: reuse i386 cpu-specific tuning
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Sun, 30 Oct 2005 23:00:07 +0000 (15:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:16 +0000 (17:37 -0800)
commit96d55b882b85b26711a06d8fb2c901df9d52a48b
tree309b8993ad321c050411a8dd74729180488a5dcc
parentf3ac9fbf7a0b9493377ee88d9b5b2933ff3f7ade
[PATCH] uml: reuse i386 cpu-specific tuning

Make UML share the underlying cpu-specific tuning done on i386.

Actually, for now many config options aren't used a lot - but that can be done
later.  Also, UML relies on GCC optimization for things like memcpy and such
more than i386, so specifying the correct -march and -mtune should be enough.
Later, we may want to correct some other stuff.

For instance, since FPU context switching, for us, is done (at least
partially, i.e.  between our kernelspace and userspace) by the host, we may
allow usage of FPU operations by GCC.  This doesn't hold for kernelspace vs.
kernelspace, but we don't support preemption.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/Kconfig
arch/i386/Kconfig.cpu [new file with mode: 0644]
arch/i386/Makefile
arch/i386/Makefile.cpu [new file with mode: 0644]
arch/um/Kconfig
arch/um/Makefile-i386
include/asm-um/cache.h