[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>
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c
index 9b14066..07a991a 100644
--- a/arch/parisc/kernel/time.c
+++ b/arch/parisc/kernel/time.c
@@ -200,6 +200,11 @@
return change;
}
+#else
+int update_cr16_clocksource(void)
+{
+ return 0; /* no change */
+}
#endif /*CONFIG_SMP*/
void __init start_cpu_itimer(void)