aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc64/kernel/mpic.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2005-06-23 09:43:23 +1000
committerPaul Mackerras <paulus@samba.org>2005-06-23 09:43:23 +1000
commitc5a3c2e52af1bcb118022ffac9a0fd1d42d43bd3 (patch)
treee9a646214342f6cd0f003a1677ae57f4dc9be012 /arch/ppc64/kernel/mpic.h
parent773bf9c469c01f01280c9bd45ec2462dd94d08a0 (diff)
[PATCH] ppc64: Split out generic rtas code from pSeries_pci.c.
BPA is using rtas for PCI but should not be confused by pSeries code. This also avoids some #ifdefs. Other platforms that want to use rtas_pci.c could create their own platform_pci.c with platform specific fixups. Signed-off-by: Arnd Bergmann <arndb@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/kernel/mpic.h')
-rw-r--r--arch/ppc64/kernel/mpic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ppc64/kernel/mpic.h b/arch/ppc64/kernel/mpic.h
index 571b3c99e06..63e177143ea 100644
--- a/arch/ppc64/kernel/mpic.h
+++ b/arch/ppc64/kernel/mpic.h
@@ -265,3 +265,6 @@ extern void mpic_send_ipi(unsigned int ipi_no, unsigned int cpu_mask);
extern int mpic_get_one_irq(struct mpic *mpic, struct pt_regs *regs);
/* This one gets to the primary mpic */
extern int mpic_get_irq(struct pt_regs *regs);
+
+/* global mpic for pSeries */
+extern struct mpic *pSeries_mpic;