aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_debug.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-10-15 11:00:02 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-15 11:00:02 -0400
commita4b29ba2f72673aaa60ba11ced74d579771dd578 (patch)
treee421105a17336930c420954dc98f236a9b930c16 /kernel/sched_debug.c
parent2e45874c5aabe573b6ab4328f303c765701394f9 (diff)
sched: small sched_debug cleanup
small kernel/sched_debug.c cleanup - break up multi-variable assignment. no code changed: text data bss dec hex filename 38869 3550 24 42443 a5cb sched.o.before 38869 3550 24 42443 a5cb sched.o.after Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Mike Galbraith <efault@gmx.de> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/sched_debug.c')
-rw-r--r--kernel/sched_debug.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index c3ee38bd3426..94915f1fd9de 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -279,9 +279,13 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m)
279void proc_sched_set_task(struct task_struct *p) 279void proc_sched_set_task(struct task_struct *p)
280{ 280{
281#ifdef CONFIG_SCHEDSTATS 281#ifdef CONFIG_SCHEDSTATS
282 p->se.sleep_max = p->se.block_max = p->se.exec_max = p->se.wait_max = 0; 282 p->se.sleep_max = 0;
283 p->se.wait_runtime_overruns = p->se.wait_runtime_underruns = 0; 283 p->se.block_max = 0;
284 p->se.exec_max = 0;
285 p->se.wait_max = 0;
286 p->se.wait_runtime_overruns = 0;
287 p->se.wait_runtime_underruns = 0;
284#endif 288#endif
285 p->se.sum_exec_runtime = 0; 289 p->se.sum_exec_runtime = 0;
286 p->se.prev_sum_exec_runtime = 0; 290 p->se.prev_sum_exec_runtime = 0;
287} 291}