Commit 4934a4d3 authored by Rakib Mullick's avatar Rakib Mullick Committed by Ingo Molnar

sched: Wrap the 'cfs_rq->nr_spread_over' field with CONFIG_SCHED_DEBUG

cfs_rq->nr_spread_over is only used when CONFIG_SCHED_DEBUG is set.
So wrap it with CONFIG_SCHED_DEBUG.
Signed-off-by: default avatarRakib Mullick <rakib.mullick@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1304528026.15681.3.camel@localhost.localdomainSigned-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 931aeeda
...@@ -328,7 +328,9 @@ struct cfs_rq { ...@@ -328,7 +328,9 @@ struct cfs_rq {
*/ */
struct sched_entity *curr, *next, *last, *skip; struct sched_entity *curr, *next, *last, *skip;
#ifdef CONFIG_SCHED_DEBUG
unsigned int nr_spread_over; unsigned int nr_spread_over;
#endif
#ifdef CONFIG_FAIR_GROUP_SCHED #ifdef CONFIG_FAIR_GROUP_SCHED
struct rq *rq; /* cpu runqueue to which this cfs_rq is attached */ struct rq *rq; /* cpu runqueue to which this cfs_rq is attached */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment