Re: [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.4]

Thomas Gleixner
2004-11-01T17:17:32Z

On Mon, 2004-11-01 at 17:04 +0000, Rui Nuno Capela wrote:
> Ingo Molnar wrote:
> >
> > I've uploaded -V0.6.5 to the usual place:
> >
> > http://redhat.com/~mingo/realtime-preempt/
> >
>
> Build error:
>
> kernel/built-in.o(.text+0x308a): In function `show_state':
> : undefined reference to `show_all_locks'
> kernel/built-in.o(.text+0x30bc): In function `show_state':
> : undefined reference to `show_all_locks'
> make: *** [.tmp_vmlinux1] Error 1

You have lock debugging disabled.

tglx

--- linux/lib/rwsem-generic.o.c 2004-11-01 18:07:02.000000000 +0100
+++ linux/lib/rwsem-generic.c 2004-11-01 15:49:27.000000000 +0100
@@ -413,6 +413,9 @@
{
}

+void show_all_locks(void)
+{
+}
#endif

/*