Skip to content

Commit

Permalink
nohz_full: fix code style issue of tick_nohz_full_stop_tick
Browse files Browse the repository at this point in the history
Code usually starts with 'tab' instead of 7 'space' in kernel

Signed-off-by: Alex Shi <alex.shi@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Alex Shi <alex.shi@linaro.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Kevin Hilman <khilman@linaro.org>
Link: http://lkml.kernel.org/r/1386074112-30754-2-git-send-email-alex.shi@linaro.org
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
  • Loading branch information
Alex Shi authored and Frederic Weisbecker committed Jan 15, 2014
1 parent 855a0fc commit e9a2eb4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions kernel/time/tick-sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -679,18 +679,18 @@ static ktime_t tick_nohz_stop_sched_tick(struct tick_sched *ts,
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
}

Expand Down

0 comments on commit e9a2eb4

Please sign in to comment.