From: Ingo Molnar Date: Fri, 16 Jan 2009 12:36:06 +0000 (+0100) Subject: sched: fix !CONFIG_SCHEDSTATS build failure X-Git-Tag: v2.6.30-rc1~658^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34cb61359b503d7aff6447acb037a5efd6ce93b2;p=pandora-kernel.git sched: fix !CONFIG_SCHEDSTATS build failure Stephen Rothwell reported this linux-next build failure with !CONFIG_SCHEDSTATS: | In file included from kernel/sched.c:1703: | kernel/sched_fair.c: In function 'adaptive_gran': | kernel/sched_fair.c:1324: error: 'struct sched_entity' has no member named 'avg_wakeup' The start_runtime and avg_wakeup metrics are now not just for statistics, but also for scheduling - so they always need to be available. (Also move out the nr_migrations fields - for future perfcounters usage.) Reported-by: Stephen Rothwell Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed