diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
commit | 0cb7bf61b1e9f05027de58c80f9b46a714d24e35 (patch) | |
tree | 41fb55cf62d07b425122f9a8b96412c0d8eb99c5 /arch/x86/kernel/tsc.c | |
parent | aa877175e7a9982233ed8f10cb4bfddd78d82741 (diff) | |
parent | 3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff) |
Merge branch 'linus' into smp/hotplug
Apply upstream changes to avoid conflicts with pending patches.
Diffstat (limited to 'arch/x86/kernel/tsc.c')
-rw-r--r-- | arch/x86/kernel/tsc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index 1ef87e887051..78b9cb5a26af 100644 --- a/arch/x86/kernel/tsc.c +++ b/arch/x86/kernel/tsc.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <asm/nmi.h> | 22 | #include <asm/nmi.h> |
23 | #include <asm/x86_init.h> | 23 | #include <asm/x86_init.h> |
24 | #include <asm/geode.h> | 24 | #include <asm/geode.h> |
25 | #include <asm/apic.h> | ||
25 | 26 | ||
26 | unsigned int __read_mostly cpu_khz; /* TSC clocks / usec, not used here */ | 27 | unsigned int __read_mostly cpu_khz; /* TSC clocks / usec, not used here */ |
27 | EXPORT_SYMBOL(cpu_khz); | 28 | EXPORT_SYMBOL(cpu_khz); |
@@ -1249,6 +1250,9 @@ static void tsc_refine_calibration_work(struct work_struct *work) | |||
1249 | (unsigned long)tsc_khz / 1000, | 1250 | (unsigned long)tsc_khz / 1000, |
1250 | (unsigned long)tsc_khz % 1000); | 1251 | (unsigned long)tsc_khz % 1000); |
1251 | 1252 | ||
1253 | /* Inform the TSC deadline clockevent devices about the recalibration */ | ||
1254 | lapic_update_tsc_freq(); | ||
1255 | |||
1252 | out: | 1256 | out: |
1253 | if (boot_cpu_has(X86_FEATURE_ART)) | 1257 | if (boot_cpu_has(X86_FEATURE_ART)) |
1254 | art_related_clocksource = &clocksource_tsc; | 1258 | art_related_clocksource = &clocksource_tsc; |