projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deaf222
)
sched: clean up overlong line in kernel/sched_debug.c
author
Ingo Molnar
<mingo@elte.hu>
Wed, 28 Nov 2007 14:52:56 +0000
(15:52 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 28 Nov 2007 14:52:56 +0000
(15:52 +0100)
clean up overlong line in kernel/sched_debug.c.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_debug.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched_debug.c
b/kernel/sched_debug.c
index 5d0d623a54650180ffb6495321f6438a8464508f..d30467b47ddd0cd681f6da0afbe9c96c8b52df93 100644
(file)
--- 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);