Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d5f718a authored by Ingo Molnar's avatar Ingo Molnar
Browse files

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: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 707fa8ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);