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

Previous thread: [PATCH -mmotm] drivers/char/rtc.c: fix build failure by Li Zefan on Wednesday, June 4, 2008 - 6:20 pm. (1 message)

Next thread: Linux 2.6.26-rc5 by Linus Torvalds on Wednesday, June 4, 2008 - 8:36 pm. (25 messages)
From: Li Zefan
Date: Wednesday, June 4, 2008 - 7:36 pm

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@linux-foundation.org>

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

	Cc: Ingo Molnar <mingo@elte.hu>
	Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

But I can see this function is used in sched_fair.c.
--

From: Andrew Morton
Date: Wednesday, June 4, 2008 - 7:51 pm

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.

--

Previous thread: [PATCH -mmotm] drivers/char/rtc.c: fix build failure by Li Zefan on Wednesday, June 4, 2008 - 6:20 pm. (1 message)

Next thread: Linux 2.6.26-rc5 by Linus Torvalds on Wednesday, June 4, 2008 - 8:36 pm. (25 messages)