mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
x86: lfence fix
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>
This commit is contained in:
parent
707fa8ed92
commit
6d5f718a49
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue