Skip to content

Commit 00d1f3c

Browse files
author
Kyle McMartin
committed
[PARISC] clocksource_cr16: Use clocksource_change_rating()
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
1 parent 0ff851e commit 00d1f3c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎arch/parisc/kernel/time.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,7 @@ static int cr16_update_callback(void)
196196
/* since the cr16 cycle counters are not syncronized across CPUs,
197197
we'll check if we should switch to a safe clocksource: */
198198
if (clocksource_cr16.rating != 0 && num_online_cpus() > 1) {
199-
clocksource_cr16.rating = 0;
200-
clocksource_reselect();
199+
clocksource_change_rating(&clocksource_cr16, 0);
201200
change = 1;
202201
}
203202

0 commit comments

Comments
 (0)