Skip to content

Commit c0fc3cb

Browse files
committed
Merge branch 'x86-hyperv-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 hyperv change from Ingo Molnar: "Skip the timer_irq_works() check on hyperv systems" * 'x86-hyperv-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86, hyperv: Bypass the timer_irq_works() check
2 parents d9fcca4 + ca3ba2a commit c0fc3cb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

arch/x86/kernel/cpu/mshyperv.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include <asm/irq_regs.h>
2727
#include <asm/i8259.h>
2828
#include <asm/apic.h>
29+
#include <asm/timer.h>
2930

3031
struct ms_hyperv_info ms_hyperv;
3132
EXPORT_SYMBOL_GPL(ms_hyperv);
@@ -105,6 +106,11 @@ static void __init ms_hyperv_init_platform(void)
105106

106107
if (ms_hyperv.features & HV_X64_MSR_TIME_REF_COUNT_AVAILABLE)
107108
clocksource_register_hz(&hyperv_cs, NSEC_PER_SEC/100);
109+
110+
#ifdef CONFIG_X86_IO_APIC
111+
no_timer_check = 1;
112+
#endif
113+
108114
}
109115

110116
const __refconst struct hypervisor_x86 x86_hyper_ms_hyperv = {

0 commit comments

Comments
 (0)