aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/clockchips.h2
-rw-r--r--kernel/time/tick-internal.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h
index dbe9e1457168..20a7183f2831 100644
--- a/include/linux/clockchips.h
+++ b/include/linux/clockchips.h
@@ -191,7 +191,7 @@ extern void tick_setup_hrtimer_broadcast(void);
191extern int tick_check_broadcast_expired(void); 191extern int tick_check_broadcast_expired(void);
192#else 192#else
193static inline int tick_check_broadcast_expired(void) { return 0; } 193static inline int tick_check_broadcast_expired(void) { return 0; }
194static void tick_setup_hrtimer_broadcast(void) {}; 194static inline void tick_setup_hrtimer_broadcast(void) {};
195#endif 195#endif
196 196
197#ifdef CONFIG_GENERIC_CLOCKEVENTS 197#ifdef CONFIG_GENERIC_CLOCKEVENTS
diff --git a/kernel/time/tick-internal.h b/kernel/time/tick-internal.h
index 0756c62c219a..7ab92b19965a 100644
--- a/kernel/time/tick-internal.h
+++ b/kernel/time/tick-internal.h
@@ -155,8 +155,9 @@ static inline int tick_device_is_functional(struct clock_event_device *dev)
155 return !(dev->features & CLOCK_EVT_FEAT_DUMMY); 155 return !(dev->features & CLOCK_EVT_FEAT_DUMMY);
156} 156}
157 157
158int __clockevents_update_freq(struct clock_event_device *dev, u32 freq);
159
158#endif 160#endif
159 161
160int __clockevents_update_freq(struct clock_event_device *dev, u32 freq);
161extern void do_timer(unsigned long ticks); 162extern void do_timer(unsigned long ticks);
162extern void update_wall_time(void); 163extern void update_wall_time(void);