aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/nops.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-14 17:52:05 -0500
committerIngo Molnar <mingo@elte.hu>2008-02-26 06:55:51 -0500
commit7343b3b3a627eb30e24e921f004f659c8ebb91c5 (patch)
tree1e7c77a864c4a3e0186f9192a71520d0d39edf73 /include/asm-x86/nops.h
parenta7ef94e6889186848573a10c5bdb8271405f44de (diff)
x86: require family >= 6 if we are using P6 NOPs
The P6 family of NOPs are only available on family >= 6 or above, so enforce that in the boot code. 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>
Diffstat (limited to 'include/asm-x86/nops.h')
-rw-r--r--include/asm-x86/nops.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-x86/nops.h b/include/asm-x86/nops.h
index fec025c7f58c..c52b334b8166 100644
--- a/include/asm-x86/nops.h
+++ b/include/asm-x86/nops.h
@@ -63,9 +63,7 @@
63#define ASM_NOP6 K7_NOP6 63#define ASM_NOP6 K7_NOP6
64#define ASM_NOP7 K7_NOP7 64#define ASM_NOP7 K7_NOP7
65#define ASM_NOP8 K7_NOP8 65#define ASM_NOP8 K7_NOP8
66#elif defined(CONFIG_M686) || defined(CONFIG_MPENTIUMII) || \ 66#elif defined(CONFIG_X86_P6_NOP)
67 defined(CONFIG_MPENTIUMIII) || defined(CONFIG_MPENTIUMM) || \
68 defined(CONFIG_MCORE2) || defined(CONFIG_PENTIUM4)
69#define ASM_NOP1 P6_NOP1 67#define ASM_NOP1 P6_NOP1
70#define ASM_NOP2 P6_NOP2 68#define ASM_NOP2 P6_NOP2
71#define ASM_NOP3 P6_NOP3 69#define ASM_NOP3 P6_NOP3