From 00d1f3c31a415bb3701abbd3a2c2aa44cb97116c Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Mon, 26 Feb 2007 20:10:42 -0500 Subject: [PATCH] [PARISC] clocksource_cr16: Use clocksource_change_rating() Signed-off-by: Kyle McMartin --- arch/parisc/kernel/time.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c index d1db8e5186..5cbc286cd0 100644 --- a/arch/parisc/kernel/time.c +++ b/arch/parisc/kernel/time.c @@ -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; } -- 2.39.5