2.6.15-rc5-rt2 and Kconfig

From: Esben Nielsen
Date: Tue Dec 20 2005 - 06:17:04 EST


For some strange reason I couldn't get 2.6.15-rc5-rt2 to compile. Kconfig
keeped setting CONFIG_RWSEM_XCHGADD_ALGORITHM=y in my .config even though
I had CONFIG_PREEMPT_RT=y.
I don't know much about Kconfig but to me it is odd that the
RWSEM_XCHGADD_ALGORITHM option is both in arch/i386/Kconfig and
arch/i386/Kconfig.cpu with different dependencies.
When I removed it from Kconfig.cpu my problem disappeared and I could
compile. But I have no clue what else this change does to the config
system....

Esben



--- linux-2.6-rt/arch/i386/Kconfig.orig 2005-12-16 22:38:26.000000000 +0100
+++ linux-2.6-rt/arch/i386/Kconfig 2005-12-20 02:11:41.000000000 +0100
@@ -245,7 +245,7 @@

config RWSEM_XCHGADD_ALGORITHM
bool
- depends on !RWSEM_GENERIC_SPINLOCK && !PREEMPT_RT
+ depends on !RWSEM_GENERIC_SPINLOCK && !PREEMPT_RT && !M386
default y

config X86_UP_APIC
--- linux-2.6-rt/arch/i386/Kconfig.cpu.orig 2005-12-1300:02:19.000000000 +0100
+++ linux-2.6-rt/arch/i386/Kconfig.cpu 2005-12-20 02:11:47.000000000 +0100
@@ -229,11 +229,6 @@
depends on M386
default y

-config RWSEM_XCHGADD_ALGORITHM
- bool
- depends on !M386
- default y
-
config GENERIC_CALIBRATE_DELAY
bool
default y


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