From: Willy Tarreau <willy@w.ods.org>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: Marcelo Tosatti <marcelo.tosatti@cyclades.com>,
"C.L. Tien - ??????" <cltien@cmedia.com.tw>,
Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: [PATCH]: cmpci 6.82 released
Date: Sun, 2 May 2004 21:33:05 +0200 [thread overview]
Message-ID: <20040502193305.GA19871@alpha.home.local> (raw)
In-Reply-To: <20040429204038.GA9079@havoc.gtf.org>
Hi all,
I just happened to fail to compile cmpci-6.82 on 2.4.26 with SMP, because
of order of includes. Basically, interrupt.h references files which use
smp_processor_id() which references current, and this one is not declared
yet. This trivial patch fixes it, at least on 2.4.26.
Regards,
Willy
--- ./drivers/sound/cmpci.c.orig Sun May 2 21:20:42 2004
+++ ./drivers/sound/cmpci.c Sun May 2 21:20:52 2004
@@ -109,9 +109,9 @@
#include <linux/config.h>
#include <linux/module.h>
#include <linux/string.h>
-#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/sched.h>
+#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/sound.h>
#include <linux/slab.h>
next prev parent reply other threads:[~2004-05-02 19:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-14 17:15 [PATCH]: cmpci 6.82 released C.L. Tien - 田承禮
2004-04-16 20:43 ` Adrian Bunk
2004-04-29 19:46 ` Marcelo Tosatti
2004-04-29 19:55 ` Marcelo Tosatti
2004-04-29 20:40 ` Jeff Garzik
2004-05-02 19:33 ` Willy Tarreau [this message]
2004-04-29 21:14 ` Andrew Morton
-- strict thread matches above, loose matches on Subject: below --
2004-04-17 1:52 C.L. Tien - 田承禮
2004-04-17 19:40 ` Adrian Bunk
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=20040502193305.GA19871@alpha.home.local \
--to=willy@w.ods.org \
--cc=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=cltien@cmedia.com.tw \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
/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