]> err.no Git - linux-2.6/commitdiff
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 be42548b67bb642e53402b926a57574ef6c528dc..f3f4af4b8b0fb8ffa4e24da75f5982358c44cc3e 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] = "";