projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ff851e
)
[PARISC] clocksource_cr16: Use clocksource_change_rating()
author
Kyle McMartin
<kyle@mako.i.cabal.ca>
Tue, 27 Feb 2007 01:10:42 +0000
(20:10 -0500)
committer
Kyle 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
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/time.c
b/arch/parisc/kernel/time.c
index d1db8e518654e75369d37d8745a61f074cb75d1e..5cbc286cd08618e5159243d9c8b6b634c441c4db 100644
(file)
--- 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;
}