|
@@ -679,18 +679,18 @@ out:
|
|
|
static void tick_nohz_full_stop_tick(struct tick_sched *ts)
|
|
|
{
|
|
|
#ifdef CONFIG_NO_HZ_FULL
|
|
|
- int cpu = smp_processor_id();
|
|
|
+ int cpu = smp_processor_id();
|
|
|
|
|
|
- if (!tick_nohz_full_cpu(cpu) || is_idle_task(current))
|
|
|
- return;
|
|
|
+ if (!tick_nohz_full_cpu(cpu) || is_idle_task(current))
|
|
|
+ return;
|
|
|
|
|
|
- if (!ts->tick_stopped && ts->nohz_mode == NOHZ_MODE_INACTIVE)
|
|
|
- return;
|
|
|
+ if (!ts->tick_stopped && ts->nohz_mode == NOHZ_MODE_INACTIVE)
|
|
|
+ return;
|
|
|
|
|
|
- if (!can_stop_full_tick())
|
|
|
- return;
|
|
|
+ if (!can_stop_full_tick())
|
|
|
+ return;
|
|
|
|
|
|
- tick_nohz_stop_sched_tick(ts, ktime_get(), cpu);
|
|
|
+ tick_nohz_stop_sched_tick(ts, ktime_get(), cpu);
|
|
|
#endif
|
|
|
}
|
|
|
|