From 8bf9de45b663e4b9ce889eb24929ce773f306339 Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Sun, 30 May 2010 19:50:52 -0400 Subject: Make smp_send_pull_timers() optional. There is currently no need to implement this in ARM. So let's make it optional instead. --- include/linux/hrtimer.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/linux') diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index b34823755ee4..370096d132d1 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h @@ -184,6 +184,8 @@ struct hrtimer_cpu_base { struct list_head to_pull; }; +#ifdef CONFIG_ARCH_HAS_SEND_PULL_TIMERS + #define HRTIMER_START_ON_INACTIVE 0 #define HRTIMER_START_ON_QUEUED 1 @@ -203,6 +205,8 @@ struct hrtimer_start_on_info { atomic_t state; }; +#endif + static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) { timer->_expires = time; @@ -369,9 +373,11 @@ __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, unsigned long delta_ns, const enum hrtimer_mode mode, int wakeup); +#ifdef CONFIG_ARCH_HAS_SEND_PULL_TIMERS extern int hrtimer_start_on(int cpu, struct hrtimer_start_on_info *info, struct hrtimer *timer, ktime_t time, const enum hrtimer_mode mode); +#endif extern int hrtimer_cancel(struct hrtimer *timer); extern int hrtimer_try_to_cancel(struct hrtimer *timer); -- cgit v1.2.2