提交 00d1f3c3 编写于 作者: K Kyle McMartin

[PARISC] clocksource_cr16: Use clocksource_change_rating()

Signed-off-by: NKyle McMartin <kyle@parisc-linux.org>
上级 0ff851e1
...@@ -196,8 +196,7 @@ static int cr16_update_callback(void) ...@@ -196,8 +196,7 @@ static int cr16_update_callback(void)
/* since the cr16 cycle counters are not syncronized across CPUs, /* since the cr16 cycle counters are not syncronized across CPUs,
we'll check if we should switch to a safe clocksource: */ we'll check if we should switch to a safe clocksource: */
if (clocksource_cr16.rating != 0 && num_online_cpus() > 1) { if (clocksource_cr16.rating != 0 && num_online_cpus() > 1) {
clocksource_cr16.rating = 0; clocksource_change_rating(&clocksource_cr16, 0);
clocksource_reselect();
change = 1; change = 1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册