All of lore.kernel.org
 help / color / mirror / Atom feed
* [-mmotm] build failure: undefined reference to `wakeup_preempt_entity'
@ 2008-06-05  2:36 Li Zefan
  2008-06-05  2:51 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Li Zefan @ 2008-06-05  2:36 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Ingo Molnar, LKML

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [-mmotm] build failure: undefined reference to `wakeup_preempt_entity'
  2008-06-05  2:36 [-mmotm] build failure: undefined reference to `wakeup_preempt_entity' Li Zefan
@ 2008-06-05  2:51 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2008-06-05  2:51 UTC (permalink / raw)
  To: Li Zefan; +Cc: Ingo Molnar, LKML

On Thu, 05 Jun 2008 10:36:07 +0800 Li Zefan <lizf@cn.fujitsu.com> 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@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.

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-05  2:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-05  2:36 [-mmotm] build failure: undefined reference to `wakeup_preempt_entity' Li Zefan
2008-06-05  2:51 ` Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.