From: Bernhard Rosenkraenzer <bero@arklinux.org>
To: linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: [PATCH] 2.6.9-rc1-mm2 compilation fixes
Date: Fri, 3 Sep 2004 08:57:24 +0200 [thread overview]
Message-ID: <200409030857.25295.bero@arklinux.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 426 bytes --]
make modules_install doesn't work if the ALSA korg1212 sound module is built -
"grep -h .ko" will find /korg1212.o (. is a regexp character...), and
therefore try to install the nonexistant korg1212.ko.
It should be grep -h '\.ko'
kernel/wait.c fails to compile with gcc 3.4 due to discrepancies between the
prototype and implementations of __wait_on_bit() and __wait_on_bit_lock()
Fixes to both are attached.
LLaP
bero
[-- Attachment #2: linux-2.6.9-rc1-mm2-modules_install.patch --]
[-- Type: text/x-diff, Size: 439 bytes --]
--- linux-2.6.8/scripts/Makefile.modinst.ark 2004-09-03 08:46:43.000000000 +0200
+++ linux-2.6.8/scripts/Makefile.modinst 2004-09-03 08:47:15.000000000 +0200
@@ -9,7 +9,7 @@
#
-__modules := $(sort $(shell grep -h .ko /dev/null $(wildcard $(MODVERDIR)/*.mod)))
+__modules := $(sort $(shell grep -h '\.ko' /dev/null $(wildcard $(MODVERDIR)/*.mod)))
modules := $(patsubst %.o,%.ko,$(wildcard $(__modules:.ko=.o)))
.PHONY: $(modules)
[-- Attachment #3: linux-2.6.9-rc1-mm2-gcc34.patch --]
[-- Type: text/x-diff, Size: 836 bytes --]
--- linux-2.6.8/kernel/wait.c.ark 2004-09-03 06:08:23.000000000 +0200
+++ linux-2.6.8/kernel/wait.c 2004-09-03 06:09:01.000000000 +0200
@@ -150,7 +150,7 @@
* waiting, the actions of __wait_on_bit() and __wait_on_bit_lock() are
* permitted return codes. Nonzero return codes halt waiting and return.
*/
-int __sched __wait_on_bit(wait_queue_head_t *wq, struct wait_bit_queue *q,
+int __sched fastcall __wait_on_bit(wait_queue_head_t *wq, struct wait_bit_queue *q,
void *word,
int bit, int (*action)(void *), unsigned mode)
{
@@ -164,7 +164,7 @@
}
EXPORT_SYMBOL(__wait_on_bit);
-int __sched __wait_on_bit_lock(wait_queue_head_t *wq, struct wait_bit_queue *q,
+int __sched fastcall __wait_on_bit_lock(wait_queue_head_t *wq, struct wait_bit_queue *q,
void *word, int bit,
int (*action)(void *), unsigned mode)
{
next reply other threads:[~2004-09-03 9:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-03 6:57 Bernhard Rosenkraenzer [this message]
2004-09-03 9:04 ` [PATCH] 2.6.9-rc1-mm2 compilation fixes Andrew Morton
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=200409030857.25295.bero@arklinux.org \
--to=bero@arklinux.org \
--cc=akpm@osdl.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.