aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mako.i.cabal.ca>2007-02-26 20:10:42 -0500
committerKyle McMartin <kyle@mako.i.cabal.ca>2007-02-26 20:10:42 -0500
commit00d1f3c31a415bb3701abbd3a2c2aa44cb97116c (patch)
treeb9eab6c215de299c8fb9fdefb55b9c173536cabf /arch/parisc/kernel
parent0ff851e1903cd46823520a0d95d00f5347a88bd8 (diff)
[PARISC] clocksource_cr16: Use clocksource_change_rating()
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/kernel')
-rw-r--r--arch/parisc/kernel/time.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c
index d1db8e518654..5cbc286cd086 100644
--- a/arch/parisc/kernel/time.c
+++ b/arch/parisc/kernel/time.c
@@ -196,8 +196,7 @@ static int cr16_update_callback(void)
196 /* since the cr16 cycle counters are not syncronized across CPUs, 196 /* since the cr16 cycle counters are not syncronized across CPUs,
197 we'll check if we should switch to a safe clocksource: */ 197 we'll check if we should switch to a safe clocksource: */
198 if (clocksource_cr16.rating != 0 && num_online_cpus() > 1) { 198 if (clocksource_cr16.rating != 0 && num_online_cpus() > 1) {
199 clocksource_cr16.rating = 0; 199 clocksource_change_rating(&clocksource_cr16, 0);
200 clocksource_reselect();
201 change = 1; 200 change = 1;
202 } 201 }
203 202