mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
sched: clean up overlong line in kernel/sched_debug.c
clean up overlong line in kernel/sched_debug.c. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
deaf2227dd
commit
c1a89740da
1 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue