[-mmotm] build failure: undefined reference to `wakeup_preempt_entity'

From: Li Zefan
Date: Wed Jun 04 2008 - 22:38:17 EST


kernel/built-in.o: In function `pick_next':
/home/lizf/linux-2.6.26-rc4/kernel/sched_fair.c:738: undefined reference to `wakeup_preempt_entity'
kernel/built-in.o: In function `check_preempt_wakeup':
/home/lizf/linux-2.6.26-rc4/kernel/sched_fair.c:1194: undefined reference to `wakeup_preempt_entity'

This patch:
sched-delete-dead-stuff.patch

------------------------------------------------
From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

kernel/sched_fair.c:1170: warning: 'wakeup_preempt_entity' defined but not used

Cc: Ingo Molnar <mingo@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

But I can see this function is used in sched_fair.c.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/