aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/time.h')
-rw-r--r--include/asm-powerpc/time.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-powerpc/time.h b/include/asm-powerpc/time.h
index c104c15c6625..f05895522f7f 100644
--- a/include/asm-powerpc/time.h
+++ b/include/asm-powerpc/time.h
@@ -179,7 +179,7 @@ static inline unsigned int get_dec(void)
179static inline void set_dec(int val) 179static inline void set_dec(int val)
180{ 180{
181#if defined(CONFIG_40x) 181#if defined(CONFIG_40x)
182 return; /* Have to let it auto-reload */ 182 mtspr(SPRN_PIT, val);
183#elif defined(CONFIG_8xx_CPU6) 183#elif defined(CONFIG_8xx_CPU6)
184 set_dec_cpu6(val); 184 set_dec_cpu6(val);
185#else 185#else
@@ -245,6 +245,7 @@ extern void snapshot_timebases(void);
245#define snapshot_timebases() do { } while (0) 245#define snapshot_timebases() do { } while (0)
246#endif 246#endif
247 247
248extern void secondary_cpu_time_init(void);
248extern void iSeries_time_init_early(void); 249extern void iSeries_time_init_early(void);
249 250
250#endif /* __KERNEL__ */ 251#endif /* __KERNEL__ */