mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
[PARISC] clocksource_cr16: Use clocksource_change_rating()
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
parent
0ff851e190
commit
00d1f3c31a
1 changed files with 1 additions and 2 deletions
|
@ -196,8 +196,7 @@ static int cr16_update_callback(void)
|
|||
/* since the cr16 cycle counters are not syncronized across CPUs,
|
||||
we'll check if we should switch to a safe clocksource: */
|
||||
if (clocksource_cr16.rating != 0 && num_online_cpus() > 1) {
|
||||
clocksource_cr16.rating = 0;
|
||||
clocksource_reselect();
|
||||
clocksource_change_rating(&clocksource_cr16, 0);
|
||||
change = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue