dect
/
linux-2.6
Archived
13
0
Fork 0

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: Rakib Mullick <rakib.mullick@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1304528026.15681.3.camel@localhost.localdomain
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Rakib Mullick 2011-05-04 22:53:46 +06:00 committed by Ingo Molnar
parent 931aeeda0d
commit 4934a4d3d3
1 changed files with 2 additions and 0 deletions

View File

@ -328,7 +328,9 @@ struct cfs_rq {
*/
struct sched_entity *curr, *next, *last, *skip;
#ifdef CONFIG_SCHED_DEBUG
unsigned int nr_spread_over;
#endif
#ifdef CONFIG_FAIR_GROUP_SCHED
struct rq *rq; /* cpu runqueue to which this cfs_rq is attached */