diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-05-30 19:50:52 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-06-01 10:23:14 -0400 |
commit | 8bf9de45b663e4b9ce889eb24929ce773f306339 (patch) | |
tree | 129f32a9154debc2f587691f711c3ed75b527491 /kernel | |
parent | cedc8df1cf1ff935af5455a9d565dac05192a47f (diff) |
Make smp_send_pull_timers() optional.
There is currently no need to implement this in ARM.
So let's make it optional instead.
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/hrtimer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index 02e5097bf319..18314ae830ee 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c | |||
@@ -1043,6 +1043,8 @@ hrtimer_start(struct hrtimer *timer, ktime_t tim, const enum hrtimer_mode mode) | |||
1043 | } | 1043 | } |
1044 | EXPORT_SYMBOL_GPL(hrtimer_start); | 1044 | EXPORT_SYMBOL_GPL(hrtimer_start); |
1045 | 1045 | ||
1046 | #ifdef CONFIG_ARCH_HAS_SEND_PULL_TIMERS | ||
1047 | |||
1046 | /** | 1048 | /** |
1047 | * hrtimer_pull - PULL_TIMERS_VECTOR callback on remote cpu | 1049 | * hrtimer_pull - PULL_TIMERS_VECTOR callback on remote cpu |
1048 | */ | 1050 | */ |
@@ -1123,6 +1125,8 @@ int hrtimer_start_on(int cpu, struct hrtimer_start_on_info* info, | |||
1123 | return in_use; | 1125 | return in_use; |
1124 | } | 1126 | } |
1125 | 1127 | ||
1128 | #endif | ||
1129 | |||
1126 | /** | 1130 | /** |
1127 | * hrtimer_try_to_cancel - try to deactivate a timer | 1131 | * hrtimer_try_to_cancel - try to deactivate a timer |
1128 | * @timer: hrtimer to stop | 1132 | * @timer: hrtimer to stop |