|
@@ -436,7 +436,7 @@ static void internal_add_timer(struct tvec_base *base, struct timer_list *timer)
|
|
* require special care against races with idle_cpu(), lets deal
|
|
* require special care against races with idle_cpu(), lets deal
|
|
* with that later.
|
|
* with that later.
|
|
*/
|
|
*/
|
|
- if (!tbase_get_deferrable(base) || tick_nohz_full_cpu(base->cpu))
|
|
|
|
|
|
+ if (!tbase_get_deferrable(timer->base) || tick_nohz_full_cpu(base->cpu))
|
|
wake_up_nohz_cpu(base->cpu);
|
|
wake_up_nohz_cpu(base->cpu);
|
|
}
|
|
}
|
|
|
|
|