Messages in this thread | | | Date | Sun, 25 Dec 2005 11:47:50 +0100 (MET) | From | Jan Engelhardt <> | Subject | Re: [solved] 2.6.15-rc5-rt4 fails to compile |
| |
>CONFIG_RWSEM_GENERIC_SPINLOCK is always y when PREEMPT_RT=y, but (see >linux/rwsem.h) in this case, <linux/rwsem-semaphore.h> is included, which >lacks macros like RWSEM_ACTIVE_BIAS used in lib/rwsem.c.
Hm this is the same as the other "2.6.15-rc5-rt4 fails to compile". rwsem.c should not even be in there. Is this a Kconfig bug then?
config RWSEM_GENERIC_SPINLOCK bool depends on M386 || PREEMPT_RT default y config RWSEM_XCHGADD_ALGORITHM bool default y if !RWSEM_GENERIC_SPINLOCK
PREEMPT_RT=y, but the .config file has RWSEM_XCHGADD_ALGORITHM=y! Maybe the "default y if !RWSEM..." is not evaluated and we need something like this?
default y if !RWSEM_GENERIC_SPINLOCK default n if RWSEM_GENERIC_SPINLOCK
Jan Engelhardt -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |