All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Fix for sparc64 irq.c compile error
@ 2005-10-10  3:24 David S. Miller
  2005-10-10  6:20 ` Sven Hartge
  2005-10-10 18:11 ` David S. Miller
  0 siblings, 2 replies; 7+ messages in thread
From: David S. Miller @ 2005-10-10  3:24 UTC (permalink / raw)
  To: sparclinux

From: Sven Hartge <hartge@ds9.argh.org>
Date: Sun, 9 Oct 2005 16:54:01 +0200 (CEST)

[ Please use sparclinux, you'll reach more Sparc users there.
  ultralinux ought to be deprecated at some point since there
  is zero traffic level justification for two lists these days ]

> init(495): Oops [#1]
> TSTATE: 0000000011009600 TPC: 0000000000534ce4 TNPC: 0000000000534ce8 Y: 00000000    Not tainted
> TPC: <tty_wakeup+0x4/0x80>

Known problem with serial console, I mean to get to fixing it
at some point.

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Fix for sparc64 irq.c compile error
@ 2005-10-09  0:23 Sven Hartge
  2005-10-09  4:12 ` David S. Miller
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Sven Hartge @ 2005-10-09  0:23 UTC (permalink / raw)
  To: ultralinux

[-- 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>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-10-13  4:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-10  3:24 Fix for sparc64 irq.c compile error David S. Miller
2005-10-10  6:20 ` Sven Hartge
2005-10-10 18:11 ` David S. Miller
  -- strict thread matches above, loose matches on Subject: below --
2005-10-09  0:23 Sven Hartge
2005-10-09  4:12 ` David S. Miller
2005-10-09 14:54 ` Sven Hartge
2005-10-13  4:34 ` Horms

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.