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

From: Andrew Morton
Date: Wed Jun 04 2008 - 22:52:25 EST


On Thu, 05 Jun 2008 10:36:07 +0800 Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:

> 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.

OK, thanks, that function must have become undead since I last did a
test build.

wakeup_gran() also seems to have been resurrected, so
sched-delete-dead-stuff-2.patch is no longer needed either.

--
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/