>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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]