From: Ingo Molnar Date: Wed, 28 Nov 2007 14:52:56 +0000 (+0100) Subject: sched: clean up overlong line in kernel/sched_debug.c X-Git-Tag: v2.6.24-rc4~81^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c1a89740da168d3431f2f4e7c3b03daacbb55be1;p=linux-2.6-omap-h63xx.git sched: clean up overlong line in kernel/sched_debug.c clean up overlong line in kernel/sched_debug.c. Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c index 5d0d623a546..d30467b47dd 100644 --- a/kernel/sched_debug.c +++ b/kernel/sched_debug.c @@ -327,10 +327,12 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m) avg_atom = -1LL; avg_per_cpu = p->se.sum_exec_runtime; - if (p->se.nr_migrations) - avg_per_cpu = div64_64(avg_per_cpu, p->se.nr_migrations); - else + if (p->se.nr_migrations) { + avg_per_cpu = div64_64(avg_per_cpu, + p->se.nr_migrations); + } else { avg_per_cpu = -1LL; + } __PN(avg_atom); __PN(avg_per_cpu);