summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powermac
diff options
context:
space:
mode:
authorMichael Ellerman2008-05-08 06:27:15 +0200
committerPaul Mackerras2008-05-14 14:31:54 +0200
commitaf3b74df1b2fa4dbfb0534818167f6393f5ae7c7 (patch)
treed6b5bdf18d2148382bd7166a43635b2699b05022 /arch/powerpc/platforms/powermac
parent[POWERPC] Add a declaration for xmon() (diff)
downloadkernel-qcow2-linux-af3b74df1b2fa4dbfb0534818167f6393f5ae7c7.tar.gz
kernel-qcow2-linux-af3b74df1b2fa4dbfb0534818167f6393f5ae7c7.tar.xz
kernel-qcow2-linux-af3b74df1b2fa4dbfb0534818167f6393f5ae7c7.zip
[POWERPC] Move xmon_irq() declaration into xmon.h
The typdef for irqreturn_t was moved into its own header a while back, so there's no reason we can't move xmon_irq() into xmon.h now. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/powermac')
-rw-r--r--arch/powerpc/platforms/powermac/pic.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/powerpc/platforms/powermac/pic.c b/arch/powerpc/platforms/powermac/pic.c
index 829b8b02527b..6d149ae8ffa7 100644
--- a/arch/powerpc/platforms/powermac/pic.c
+++ b/arch/powerpc/platforms/powermac/pic.c
@@ -34,16 +34,10 @@
#include <asm/time.h>
#include <asm/pmac_feature.h>
#include <asm/mpic.h>
+#include <asm/xmon.h>
#include "pmac.h"
-/*
- * XXX this should be in xmon.h, but putting it there means xmon.h
- * has to include <linux/interrupt.h> (to get irqreturn_t), which
- * causes all sorts of problems. -- paulus
- */
-extern irqreturn_t xmon_irq(int, void *);
-
#ifdef CONFIG_PPC32
struct pmac_irq_hw {
unsigned int event;