File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 21
21
22
22
void __init check_bugs (void )
23
23
{
24
- #ifdef CONFIG_X86_32
25
- /*
26
- * Regardless of whether PCID is enumerated, the SDM says
27
- * that it can't be enabled in 32-bit mode.
28
- */
29
- setup_clear_cpu_cap (X86_FEATURE_PCID );
30
- #endif
31
-
32
24
identify_boot_cpu ();
33
25
34
26
if (!IS_ENABLED (CONFIG_SMP )) {
Original file line number Diff line number Diff line change @@ -904,6 +904,14 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c)
904
904
905
905
setup_force_cpu_cap (X86_FEATURE_ALWAYS );
906
906
fpu__init_system (c );
907
+
908
+ #ifdef CONFIG_X86_32
909
+ /*
910
+ * Regardless of whether PCID is enumerated, the SDM says
911
+ * that it can't be enabled in 32-bit mode.
912
+ */
913
+ setup_clear_cpu_cap (X86_FEATURE_PCID );
914
+ #endif
907
915
}
908
916
909
917
void __init early_cpu_init (void )
You can’t perform that action at this time.
0 commit comments