|
@@ -758,6 +758,13 @@ void get_cpu_cap(struct cpuinfo_x86 *c)
|
|
c->x86_capability[CPUID_8000_000A_EDX] = cpuid_edx(0x8000000a);
|
|
c->x86_capability[CPUID_8000_000A_EDX] = cpuid_edx(0x8000000a);
|
|
|
|
|
|
init_scattered_cpuid_features(c);
|
|
init_scattered_cpuid_features(c);
|
|
|
|
+
|
|
|
|
+ /*
|
|
|
|
+ * Clear/Set all flags overridden by options, after probe.
|
|
|
|
+ * This needs to happen each time we re-probe, which may happen
|
|
|
|
+ * several times during CPU initialization.
|
|
|
|
+ */
|
|
|
|
+ apply_forced_caps(c);
|
|
}
|
|
}
|
|
|
|
|
|
static void identify_cpu_without_cpuid(struct cpuinfo_x86 *c)
|
|
static void identify_cpu_without_cpuid(struct cpuinfo_x86 *c)
|