aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2004-08-07 00:56:42 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-07 00:56:42 -0700
commit24ab65e8181dc0ce7a501af727193fc8a3715131 (patch)
treeea0a4216309a83f80d353c694e428bb41c5befb1 /include
parent814e07776c6b120425c92f1690137785bf2cb5a9 (diff)
downloadhistory-24ab65e8181dc0ce7a501af727193fc8a3715131.tar.gz
[PATCH] ppc64: various XICS fixes
- Remove unused includes. - Be consistent about printing irq numbers, avoid a mix of decimal and hexadecimal. - Remove prototypes from xics.c, they should be in xics.h. - Remove infinite loop on failure, and instead use panic. Panic has a chance to log the error message on the LED panel and reboot the box, a while(1) loop does not. - xics isnt compiled for iseries any more, so no need for the CONFIG_PPC_PSERIES hack. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/irq.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-ppc64/irq.h b/include/asm-ppc64/irq.h
index 6544827f7f4d7f..9c491814dbb5b7 100644
--- a/include/asm-ppc64/irq.h
+++ b/include/asm-ppc64/irq.h
@@ -9,8 +9,8 @@
* 2 of the License, or (at your option) any later version.
*/
+#include <linux/config.h>
#include <linux/threads.h>
-#include <asm/atomic.h>
/*
* Maximum number of interrupt sources that we can handle.
@@ -46,6 +46,8 @@ static inline unsigned int virt_irq_to_real(unsigned int virt_irq)
return virt_irq_to_real_map[virt_irq];
}
+extern unsigned int real_irq_to_virt_slowpath(unsigned int real_irq);
+
/*
* Because many systems have two overlapping names spaces for
* interrupts (ISA and XICS for example), and the ISA interrupts