lkml.org 
[lkml]   [2005]   [Dec]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-12-25 11:52    [W:0.091 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site