|
@@ -900,7 +900,7 @@ static void identify_cpu_without_cpuid(struct cpuinfo_x86 *c)
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|
|
|
|
|
|
-static const __initdata struct x86_cpu_id cpu_no_speculation[] = {
|
|
|
|
|
|
+static const __initconst struct x86_cpu_id cpu_no_speculation[] = {
|
|
{ X86_VENDOR_INTEL, 6, INTEL_FAM6_ATOM_CEDARVIEW, X86_FEATURE_ANY },
|
|
{ X86_VENDOR_INTEL, 6, INTEL_FAM6_ATOM_CEDARVIEW, X86_FEATURE_ANY },
|
|
{ X86_VENDOR_INTEL, 6, INTEL_FAM6_ATOM_CLOVERVIEW, X86_FEATURE_ANY },
|
|
{ X86_VENDOR_INTEL, 6, INTEL_FAM6_ATOM_CLOVERVIEW, X86_FEATURE_ANY },
|
|
{ X86_VENDOR_INTEL, 6, INTEL_FAM6_ATOM_LINCROFT, X86_FEATURE_ANY },
|
|
{ X86_VENDOR_INTEL, 6, INTEL_FAM6_ATOM_LINCROFT, X86_FEATURE_ANY },
|
|
@@ -913,7 +913,7 @@ static const __initdata struct x86_cpu_id cpu_no_speculation[] = {
|
|
{}
|
|
{}
|
|
};
|
|
};
|
|
|
|
|
|
-static const __initdata struct x86_cpu_id cpu_no_meltdown[] = {
|
|
|
|
|
|
+static const __initconst struct x86_cpu_id cpu_no_meltdown[] = {
|
|
{ X86_VENDOR_AMD },
|
|
{ X86_VENDOR_AMD },
|
|
{}
|
|
{}
|
|
};
|
|
};
|