sched: build fix
authorIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 10:11:10 +0000 (12:11 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:45:01 +0000 (19:45 +0200)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_debug.c

index be42548..f3f4af4 100644 (file)
@@ -119,7 +119,7 @@ void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
        struct sched_entity *last;
        unsigned long flags;
 
-#ifndef CONFIG_CGROUP_SCHED
+#if !defined(CONFIG_CGROUP_SCHED) || !defined(CONFIG_USER_SCHED)
        SEQ_printf(m, "\ncfs_rq[%d]:\n", cpu);
 #else
        char path[128] = "";