From: Steven Rostedt <rostedt@goodmis.org>
To: art@usfltd.com
Cc: mingo@elte.hu, linux-kernel@vger.kernel.org
Subject: Re: kernel-2.6.15-rc5-rt2 - compilation error RWSEM_ACTIVE_BIAS undeclared
Date: Wed, 14 Dec 2005 15:22:52 -0500 [thread overview]
Message-ID: <1134591773.13138.17.camel@localhost.localdomain> (raw)
In-Reply-To: <200512141157.AA15073854@usfltd.com>
On Wed, 2005-12-14 at 11:57 -0600, art wrote:
> kernel-2.6.15-rc5-rt2 - compilation error ‘RWSEM_ACTIVE_BIAS’ undeclared
>
> gcc version 4.0.2
> ........
> CC lib/kref.o
> CC lib/prio_tree.o
> CC lib/radix-tree.o
> CC lib/rbtree.o
> CC lib/rwsem.o
> lib/rwsem.c: In function ‘__rwsem_do_wake’:
> lib/rwsem.c:57: warning: implicit declaration of function ‘rwsem_atomic_update’
> lib/rwsem.c:57: error: ‘RWSEM_ACTIVE_BIAS’ undeclared (first use in this function)
Art,
Use this patch.
Ingo,
Could you please apply this.
-- Steve
Index: linux-2.6.15-rc5-rt2/arch/i386/Kconfig
===================================================================
--- linux-2.6.15-rc5-rt2.orig/arch/i386/Kconfig 2005-12-14 14:37:01.000000000 -0500
+++ linux-2.6.15-rc5-rt2/arch/i386/Kconfig 2005-12-14 15:19:53.000000000 -0500
@@ -245,8 +245,7 @@
config RWSEM_XCHGADD_ALGORITHM
bool
- depends on !RWSEM_GENERIC_SPINLOCK && !PREEMPT_RT
- default y
+ default y if !RWSEM_GENERIC_SPINLOCK
config X86_UP_APIC
bool "Local APIC support on uniprocessors"
Index: linux-2.6.15-rc5-rt2/arch/i386/Kconfig.cpu
===================================================================
--- linux-2.6.15-rc5-rt2.orig/arch/i386/Kconfig.cpu 2005-12-14 14:36:56.000000000 -0500
+++ linux-2.6.15-rc5-rt2/arch/i386/Kconfig.cpu 2005-12-14 15:19:53.000000000 -0500
@@ -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
next prev parent reply other threads:[~2005-12-14 20:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-14 17:57 kernel-2.6.15-rc5-rt2 - compilation error RWSEM_ACTIVE_BIAS undeclared art
2005-12-14 18:49 ` Steven Rostedt
2005-12-14 19:33 ` kernel-2.6.15-rc5-rt2 - compilation error Steven Rostedt
2005-12-14 20:22 ` Steven Rostedt [this message]
2005-12-15 8:20 ` kernel-2.6.15-rc5-rt2 - compilation error RWSEM_ACTIVE_BIAS undeclared Serge Noiraud
2005-12-14 19:25 art
2005-12-14 23:41 art
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1134591773.13138.17.camel@localhost.localdomain \
--to=rostedt@goodmis.org \
--cc=art@usfltd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).