提交 1b38a3a1 编写于 作者: J Jan Beulich 提交者: Thomas Gleixner

x86: hpet: Fix copy-and-paste mistake in earlier change

This fixes an oversight in 396e2c6f
("x86: Clear HPET configuration registers on startup"), noticed by
Thomas Gleixner.
Signed-off-by: NJan Beulich <jbeulich@suse.com>
Link: http://lkml.kernel.org/r/4FBF7DA902000078000861EE@nat28.tlf.novell.comSigned-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 ce004178
...@@ -870,7 +870,7 @@ int __init hpet_enable(void) ...@@ -870,7 +870,7 @@ int __init hpet_enable(void)
else else
pr_warn("HPET initial state will not be saved\n"); pr_warn("HPET initial state will not be saved\n");
cfg &= ~(HPET_CFG_ENABLE | HPET_CFG_LEGACY); cfg &= ~(HPET_CFG_ENABLE | HPET_CFG_LEGACY);
hpet_writel(cfg, HPET_Tn_CFG(i)); hpet_writel(cfg, HPET_CFG);
if (cfg) if (cfg)
pr_warn("HPET: Unrecognized bits %#x set in global cfg\n", pr_warn("HPET: Unrecognized bits %#x set in global cfg\n",
cfg); cfg);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册