Re: 2.6.15-rc5-rt2 build error

From: Lee Revell
Date: Sun Dec 18 2005 - 17:23:19 EST


On Sun, 2005-12-18 at 21:06 +0100, Florian Schmidt wrote:
> config attached [cat .config|grep -v "#" >config]
>
> CC lib/rwsem.o

Try the patches that Steven Rostedt posted in the "2.6.15-rc5-rt1 will
not compile" thread. Not all of those seem to have made it into -rt2.

FWIW in order to compile -rt2 on x86-64 with !PREEMPT_RT this patch is
required:

Index: linux-2.6.15-rc5-rt1/arch/x86_64/Kconfig
===================================================================
--- linux-2.6.15-rc5-rt1.orig/arch/x86_64/Kconfig 2005-12-12
10:56:37.000000000 -0500
+++ linux-2.6.15-rc5-rt1/arch/x86_64/Kconfig 2005-12-12
21:33:56.000000000 -0500
@@ -240,7 +240,6 @@

config RWSEM_GENERIC_SPINLOCK
bool
- depends on PREEMPT_RT
default y

config RWSEM_XCHGADD_ALGORITHM


Lee

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