Skip to content

Commit

Permalink
x86: lfence fix
Browse files Browse the repository at this point in the history
LFENCE is available on XMM2 or higher Intel CPUs - not XMM or higher...

this caused boot failures on XMM1 & !XMM1 capable CPUs.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Ingo Molnar committed Jan 30, 2008
1 parent 707fa8e commit 6d5f718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/cpu/intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ static void __cpuinit init_intel(struct cpuinfo_x86 *c)
}
#endif

if (cpu_has_xmm)
if (cpu_has_xmm2)
set_bit(X86_FEATURE_LFENCE_RDTSC, c->x86_capability);
if (c->x86 == 15) {
set_bit(X86_FEATURE_P4, c->x86_capability);
Expand Down

0 comments on commit 6d5f718

Please sign in to comment.