]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sched: extract walk_tg_tree(), fix
authorIngo Molnar <mingo@elte.hu>
Tue, 19 Aug 2008 11:40:47 +0000 (13:40 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 28 Aug 2008 10:08:00 +0000 (12:08 +0200)
fix:

 kernel/sched.c: In function '__rt_schedulable':
 kernel/sched.c:8771: error: implicit declaration of function 'walk_tg_tree'
 kernel/sched.c:8771: error: 'tg_nop' undeclared (first use in this function)
 kernel/sched.c:8771: error: (Each undeclared identifier is reported only once
 kernel/sched.c:8771: error: for each function it appears in.)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c

index e41bdae2778d0730bae1a8ce5a76af9770780c3d..703f56d5db5fbe58a965ab371d90641adf610634 100644 (file)
@@ -1387,7 +1387,7 @@ static inline void dec_cpu_load(struct rq *rq, unsigned long load)
        update_load_sub(&rq->load, load);
 }
 
-#if (defined(CONFIG_SMP) && defined(CONFIG_FAIR_GROUP_SCHED)) || defined(SCHED_RT_GROUP_SCHED)
+#if (defined(CONFIG_SMP) && defined(CONFIG_FAIR_GROUP_SCHED)) || defined(CONFIG_RT_GROUP_SCHED)
 typedef int (*tg_visitor)(struct task_group *, void *);
 
 /*