aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/time.c')
-rw-r--r--arch/x86_64/kernel/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/kernel/time.c b/arch/x86_64/kernel/time.c
index 51afb07bc14e..ee622ac0376b 100644
--- a/arch/x86_64/kernel/time.c
+++ b/arch/x86_64/kernel/time.c
@@ -795,8 +795,8 @@ static int hpet_timer_stop_set_go(unsigned long tick)
795 if (hpet_use_timer) { 795 if (hpet_use_timer) {
796 hpet_writel(HPET_TN_ENABLE | HPET_TN_PERIODIC | HPET_TN_SETVAL | 796 hpet_writel(HPET_TN_ENABLE | HPET_TN_PERIODIC | HPET_TN_SETVAL |
797 HPET_TN_32BIT, HPET_T0_CFG); 797 HPET_TN_32BIT, HPET_T0_CFG);
798 hpet_writel(hpet_tick, HPET_T0_CMP); 798 hpet_writel(hpet_tick, HPET_T0_CMP); /* next interrupt */
799 hpet_writel(hpet_tick, HPET_T0_CMP); /* AK: why twice? */ 799 hpet_writel(hpet_tick, HPET_T0_CMP); /* period */
800 cfg |= HPET_CFG_LEGACY; 800 cfg |= HPET_CFG_LEGACY;
801 } 801 }
802/* 802/*