]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PARISC] clocksource_cr16: Use clocksource_change_rating()
authorKyle McMartin <kyle@mako.i.cabal.ca>
Tue, 27 Feb 2007 01:10:42 +0000 (20:10 -0500)
committerKyle McMartin <kyle@mako.i.cabal.ca>
Tue, 27 Feb 2007 01:10:42 +0000 (20:10 -0500)
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/time.c

index d1db8e518654e75369d37d8745a61f074cb75d1e..5cbc286cd08618e5159243d9c8b6b634c441c4db 100644 (file)
@@ -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;
        }