]> git.baikalelectronics.ru Git - kernel.git/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)
commitd58f51d6be1dd7aa220e3a614527be9f48759102
tree309b8993ad321c050411a8dd74729180488a5dcc
parentd75479ddadaa48f9e91ce024d9fb0d06f0f50455
[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