From: Sven Hartge <hartge@ds9.argh.org>
To: ultralinux@vger.kernel.org
Subject: Fix for sparc64 irq.c compile error
Date: Sun, 09 Oct 2005 00:23:18 +0000 [thread overview]
Message-ID: <di9nk82mm0@ds9.argh.org> (raw)
[-- Attachment #1: Type: TEXT/PLAIN, Size: 553 bytes --]
Hello.
Please excuse me for contacting you so bluntly, but after some hours of
debugging, I feel the need to contribute my little patch, in the hope it
is somewhat helpful.
The problem: On sparc64, arch/sparc64/kernel/irq.c is missing the
inclusion of asm/io.h, which causes readb() and writeb() to be undefined.
Please see the attached patch for the correction.
This should also go into the -stable-series.
Grüße,
Sven Hartge
--
Sven Hartge -- professioneller Unix-Geek
Meine Gedanken im Netz: http://sven.formvision.de/blog/
[-- Attachment #2: Type: TEXT/PLAIN, Size: 515 bytes --]
[SPARC64]: Fix compile error in irq.c
irq.c is missing the inclusion of asm/io.h, which causes
readb() and writeb() the be undefined.
Signed-off-by: Sven Hartge <hartge@ds9.argh.org>
diff --git a/arch/sparc64/kernel/irq.c b/arch/sparc64/kernel/irq.c
--- a/arch/sparc64/kernel/irq.c
+++ b/arch/sparc64/kernel/irq.c
@@ -27,6 +27,7 @@
#include <asm/atomic.h>
#include <asm/system.h>
#include <asm/irq.h>
+#include <asm/io.h>
#include <asm/sbus.h>
#include <asm/iommu.h>
#include <asm/upa.h>
next reply other threads:[~2005-10-09 0:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-09 0:23 Sven Hartge [this message]
2005-10-09 4:12 ` Fix for sparc64 irq.c compile error David S. Miller
2005-10-09 14:54 ` Sven Hartge
2005-10-13 4:34 ` Horms
-- strict thread matches above, loose matches on Subject: below --
2005-10-10 3:24 David S. Miller
2005-10-10 6:20 ` Sven Hartge
2005-10-10 18:11 ` David S. Miller
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=di9nk82mm0@ds9.argh.org \
--to=hartge@ds9.argh.org \
--cc=ultralinux@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.