[patch 1/2] [SPARC64]: Fix compile error in irq.c
From: Greg Kroah-Hartman
Date: Tue Dec 13 2005 - 16:59:31 EST
-stable review patch. If anyone has any objections, please let us know.
------------------
From: Sven Hartge <hartge@xxxxxxxxxxxx>
irq.c is missing the inclusion of asm/io.h, which causes
readb() and writeb() the be undefined.
Signed-off-by: Sven Hartge <hartge@xxxxxxxxxxxx>
Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
Signed-off-by: Chris Wright <chrisw@xxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
---
arch/sparc64/kernel/irq.c | 1 +
1 file changed, 1 insertion(+)
--- linux-2.6.13.4.orig/arch/sparc64/kernel/irq.c
+++ linux-2.6.13.4/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>
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/