]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: don't use P6_NOPs if compiling with CONFIG_X86_GENERIC
authorH. Peter Anvin <hpa@zytor.com>
Thu, 14 Feb 2008 22:56:45 +0000 (14:56 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 26 Feb 2008 11:55:51 +0000 (12:55 +0100)
commit959b3be64cab9160cd74532a49b89cdd918d38e9
tree838955725add661e1e82894be13a32b5380eceae
parent7343b3b3a627eb30e24e921f004f659c8ebb91c5
x86: don't use P6_NOPs if compiling with CONFIG_X86_GENERIC

P6_NOPs are definitely not supported on some VIA CPUs, and possibly
(unverified) on AMD K7s.  It is also the only thing that prevents a
686 kernel from running on Transmeta TM3x00/5x00 (Crusoe) series.

The performance benefit over generic NOPs is very small, so when
building for generic consumption, avoid using them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/Kconfig.cpu