diff options
author | Kyle McMartin <kyle@mako.i.cabal.ca> | 2007-02-27 06:21:22 +0300 |
---|---|---|
committer | Kyle McMartin <kyle@mako.i.cabal.ca> | 2007-02-27 06:21:22 +0300 |
commit | 01363220f5d23ef68276db8974e46a502e43d01d (patch) | |
tree | 1cbb083b854f58036396252cc16dc7cd5ffc2363 /arch/parisc/kernel/time.c | |
parent | fb55a0debee81280684b68713024d0c5e62e8aa5 (diff) | |
download | linux-01363220f5d23ef68276db8974e46a502e43d01d.tar.xz |
[PARISC] clocksource: Move update_cr16_clocksource later in boot
smp_cpus_done is too early for us... before we even do a device
inventory! Move update_cr16_clocksource into the tail end of
processor_probe() and stub it out on CONFIG_SMP=n builds.
Verified that clocksource0 is properly updated to use jiffies
on an SMP build.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/kernel/time.c')
-rw-r--r-- | arch/parisc/kernel/time.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c index 9b14066d693c..07a991aa9b0c 100644 --- a/arch/parisc/kernel/time.c +++ b/arch/parisc/kernel/time.c @@ -200,6 +200,11 @@ int update_cr16_clocksource(void) return change; } +#else +int update_cr16_clocksource(void) +{ + return 0; /* no change */ +} #endif /*CONFIG_SMP*/ void __init start_cpu_itimer(void) |