File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 26
26
#include <asm/x86_init.h>
27
27
#include <asm/geode.h>
28
28
#include <asm/apic.h>
29
- #include <asm/intel-family .h>
29
+ #include <asm/cpu_device_id .h>
30
30
#include <asm/i8259.h>
31
31
#include <asm/uv/uv.h>
32
32
@@ -682,7 +682,7 @@ unsigned long native_calibrate_tsc(void)
682
682
* clock.
683
683
*/
684
684
if (crystal_khz == 0 &&
685
- boot_cpu_data .x86_model == INTEL_FAM6_ATOM_GOLDMONT_D )
685
+ boot_cpu_data .x86_vfm == INTEL_ATOM_GOLDMONT_D )
686
686
crystal_khz = 25000 ;
687
687
688
688
/*
@@ -713,7 +713,7 @@ unsigned long native_calibrate_tsc(void)
713
713
* For Atom SoCs TSC is the only reliable clocksource.
714
714
* Mark TSC reliable so no watchdog on it.
715
715
*/
716
- if (boot_cpu_data .x86_model == INTEL_FAM6_ATOM_GOLDMONT )
716
+ if (boot_cpu_data .x86_vfm == INTEL_ATOM_GOLDMONT )
717
717
setup_force_cpu_cap (X86_FEATURE_TSC_RELIABLE );
718
718
719
719
#ifdef CONFIG_X86_LOCAL_APIC
You can’t perform that action at this time.
0 commit comments