From: Alex Riesen <a.riesen@traian.de>
To: LKML <linux-kernel@vger.kernel.org>
Subject: init_rwsem redefinition warning in usbdevice_fs.h
Date: Tue, 24 Apr 2001 10:36:07 +0200 [thread overview]
Message-ID: <20010424103607.B5368@traian.de> (raw)
Hi, again
i do not know whether it may be important, but the warning
makes me anyway curios.
In 2.4.3-ac13 the compiler says that init_rwsem in the
usbdevice_fs.h is redefined. It was previously defined in a .ver-file.
/*
* sigh. rwsemaphores do not (yet) work from modules
*/
#define rw_semaphore semaphore
#define init_rwsem init_MUTEX <<<<<<<<<<<<<<<< here
#define down_read down
#define down_write down
#define up_read up
#define up_write up
Should it be fixed? And, maybe the other define's around
should be fixed too?
Alex Riesen
P.S. the original warning (gcc-2.95.2):
In file included from hub.c:24:
linux-2.4.3-ac13/include/linux/usbdevice_fs.h:170: warning: `init_rwsem' redefined
linux-2.4.3-ac13/include/linux/modules/rwsem-spinlock.ver:2: warning: this is the location of the previous definition
next reply other threads:[~2001-04-24 8:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-24 8:36 Alex Riesen [this message]
2001-04-24 10:18 ` init_rwsem redefinition warning in usbdevice_fs.h Thomas Sailer
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=20010424103607.B5368@traian.de \
--to=a.riesen@traian.de \
--cc=linux-kernel@vger.kernel.org \
/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