]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Use root_task_group_empty only with FAIR_GROUP_SCHED
authorCyrill Gorcunov <gorcunov@openvz.org>
Mon, 26 Oct 2009 19:24:14 +0000 (22:24 +0300)
committerIngo Molnar <mingo@elte.hu>
Sun, 8 Nov 2009 12:15:48 +0000 (13:15 +0100)
commit65a1058e360c0cd66a18e9af5886338223b7a227
tree769497c425cfe602e7765884185cd769428cc67e
parentd4864b632192af8e0960fec5dcdf9372dff5a89e
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 <gorcunov@openvz.org>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20091026192414.GB5321@lenovo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c