diff options
Diffstat (limited to 'kernel/hrtimer.c')
-rw-r--r-- | kernel/hrtimer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index cc47812d3feb..ec60482d8b03 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c | |||
@@ -160,7 +160,7 @@ struct hrtimer_clock_base *lock_hrtimer_base(const struct hrtimer *timer, | |||
160 | */ | 160 | */ |
161 | static int hrtimer_get_target(int this_cpu, int pinned) | 161 | static int hrtimer_get_target(int this_cpu, int pinned) |
162 | { | 162 | { |
163 | #ifdef CONFIG_NO_HZ | 163 | #ifdef CONFIG_NO_HZ_COMMON |
164 | if (!pinned && get_sysctl_timer_migration() && idle_cpu(this_cpu)) | 164 | if (!pinned && get_sysctl_timer_migration() && idle_cpu(this_cpu)) |
165 | return get_nohz_timer_target(); | 165 | return get_nohz_timer_target(); |
166 | #endif | 166 | #endif |
@@ -1106,7 +1106,7 @@ ktime_t hrtimer_get_remaining(const struct hrtimer *timer) | |||
1106 | } | 1106 | } |
1107 | EXPORT_SYMBOL_GPL(hrtimer_get_remaining); | 1107 | EXPORT_SYMBOL_GPL(hrtimer_get_remaining); |
1108 | 1108 | ||
1109 | #ifdef CONFIG_NO_HZ | 1109 | #ifdef CONFIG_NO_HZ_COMMON |
1110 | /** | 1110 | /** |
1111 | * hrtimer_get_next_event - get the time until next expiry event | 1111 | * hrtimer_get_next_event - get the time until next expiry event |
1112 | * | 1112 | * |