提交 c1a89740 编写于 作者: I Ingo Molnar

sched: clean up overlong line in kernel/sched_debug.c

clean up overlong line in kernel/sched_debug.c.
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 deaf2227
...@@ -327,10 +327,12 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m) ...@@ -327,10 +327,12 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m)
avg_atom = -1LL; avg_atom = -1LL;
avg_per_cpu = p->se.sum_exec_runtime; avg_per_cpu = p->se.sum_exec_runtime;
if (p->se.nr_migrations) if (p->se.nr_migrations) {
avg_per_cpu = div64_64(avg_per_cpu, p->se.nr_migrations); avg_per_cpu = div64_64(avg_per_cpu,
else p->se.nr_migrations);
} else {
avg_per_cpu = -1LL; avg_per_cpu = -1LL;
}
__PN(avg_atom); __PN(avg_atom);
__PN(avg_per_cpu); __PN(avg_per_cpu);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册