aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched/sched.h
diff options
context:
space:
mode:
authorRakib Mullick <rakib.mullick@gmail.com>2012-01-24 11:33:56 -0500
committerIngo Molnar <mingo@elte.hu>2012-01-27 07:28:53 -0500
commit30fd049afcfed50e022704036e8629d6bdfe84e6 (patch)
tree829472524c157f1d7a769d088b2f9b70c9779c11 /kernel/sched/sched.h
parent4ec4412e1e91f44a3dcb97b6c9172a13fc78bac9 (diff)
sched: Remove sched_switch
Currently we don't utilize the sched_switch field anymore. But, simply removing sched_switch field from the middle of the sched_stat output will break tools. So, to stay compatible we hardcode it to zero and remove the field from the scheduler data structures. Update the schedstat documentation accordingly. Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1327422836.27181.5.camel@localhost.localdomain Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched/sched.h')
-rw-r--r--kernel/sched/sched.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 98c0c2623db8..8a2c768d2f98 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -462,7 +462,6 @@ struct rq {
462 unsigned int yld_count; 462 unsigned int yld_count;
463 463
464 /* schedule() stats */ 464 /* schedule() stats */
465 unsigned int sched_switch;
466 unsigned int sched_count; 465 unsigned int sched_count;
467 unsigned int sched_goidle; 466 unsigned int sched_goidle;
468 467