From: Cyrill Gorcunov Date: Mon, 26 Oct 2009 19:24:14 +0000 (+0300) Subject: sched: Use root_task_group_empty only with FAIR_GROUP_SCHED X-Git-Tag: v2.6.32-rc7~47^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9036b36eed4d3cdb33fa9cbcdd9888ae516889f;p=pandora-kernel.git sched: Use root_task_group_empty only with FAIR_GROUP_SCHED root_task_group_empty is used only with FAIR_GROUP_SCHED so if we use other scheduler options we get: kernel/sched.c:314: warning: 'root_task_group_empty' defined but not used So move CONFIG_FAIR_GROUP_SCHED up that it covers root_task_group_empty(). Signed-off-by: Cyrill Gorcunov Cc: Peter Zijlstra LKML-Reference: <20091026192414.GB5321@lenovo> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed