File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 26
26
#include <asm/msr.h>
27
27
#include <asm/vmx.h>
28
28
#include <asm/paravirt.h>
29
- #include <asm/intel-family .h>
29
+ #include <asm/cpu_device_id .h>
30
30
#include <asm/e820/api.h>
31
31
#include <asm/hypervisor.h>
32
32
#include <asm/tlbflush.h>
@@ -2390,20 +2390,20 @@ static void override_cache_bits(struct cpuinfo_x86 *c)
2390
2390
if (c -> x86 != 6 )
2391
2391
return ;
2392
2392
2393
- switch (c -> x86_model ) {
2394
- case INTEL_FAM6_NEHALEM :
2395
- case INTEL_FAM6_WESTMERE :
2396
- case INTEL_FAM6_SANDYBRIDGE :
2397
- case INTEL_FAM6_IVYBRIDGE :
2398
- case INTEL_FAM6_HASWELL :
2399
- case INTEL_FAM6_HASWELL_L :
2400
- case INTEL_FAM6_HASWELL_G :
2401
- case INTEL_FAM6_BROADWELL :
2402
- case INTEL_FAM6_BROADWELL_G :
2403
- case INTEL_FAM6_SKYLAKE_L :
2404
- case INTEL_FAM6_SKYLAKE :
2405
- case INTEL_FAM6_KABYLAKE_L :
2406
- case INTEL_FAM6_KABYLAKE :
2393
+ switch (c -> x86_vfm ) {
2394
+ case INTEL_NEHALEM :
2395
+ case INTEL_WESTMERE :
2396
+ case INTEL_SANDYBRIDGE :
2397
+ case INTEL_IVYBRIDGE :
2398
+ case INTEL_HASWELL :
2399
+ case INTEL_HASWELL_L :
2400
+ case INTEL_HASWELL_G :
2401
+ case INTEL_BROADWELL :
2402
+ case INTEL_BROADWELL_G :
2403
+ case INTEL_SKYLAKE_L :
2404
+ case INTEL_SKYLAKE :
2405
+ case INTEL_KABYLAKE_L :
2406
+ case INTEL_KABYLAKE :
2407
2407
if (c -> x86_cache_bits < 44 )
2408
2408
c -> x86_cache_bits = 44 ;
2409
2409
break ;
You can’t perform that action at this time.
0 commit comments