aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/mpic.h
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2008-08-05 19:10:03 -0400
committerPaul Mackerras <paulus@samba.org>2008-08-20 02:34:58 -0400
commit25235f712b680d00756a73ee64289137989fc6fd (patch)
tree3237a42b97fd5f7136ad7a7be9ef3540697cb5f4 /arch/powerpc/sysdev/mpic.h
parent7e7ab3677502a0f798f38bfa1a7d53dd22faa0bc (diff)
powerpc: Convert the MPIC MSI code to use msi_bitmap
This affects the U3 MSI code as well as the PASEMI MSI code. We keep some of the MPIC routines as helpers, and also the U3 best-guess reservation logic. The rest is replaced by the generic code. And a few printk format changes due to hwirq type change. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/mpic.h')
-rw-r--r--arch/powerpc/sysdev/mpic.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/mpic.h b/arch/powerpc/sysdev/mpic.h
index fbf8a266941c..6209c62a426d 100644
--- a/arch/powerpc/sysdev/mpic.h
+++ b/arch/powerpc/sysdev/mpic.h
@@ -14,8 +14,6 @@
14#ifdef CONFIG_PCI_MSI 14#ifdef CONFIG_PCI_MSI
15extern void mpic_msi_reserve_hwirq(struct mpic *mpic, irq_hw_number_t hwirq); 15extern void mpic_msi_reserve_hwirq(struct mpic *mpic, irq_hw_number_t hwirq);
16extern int mpic_msi_init_allocator(struct mpic *mpic); 16extern int mpic_msi_init_allocator(struct mpic *mpic);
17extern irq_hw_number_t mpic_msi_alloc_hwirqs(struct mpic *mpic, int num);
18extern void mpic_msi_free_hwirqs(struct mpic *mpic, int offset, int num);
19extern int mpic_u3msi_init(struct mpic *mpic); 17extern int mpic_u3msi_init(struct mpic *mpic);
20extern int mpic_pasemi_msi_init(struct mpic *mpic); 18extern int mpic_pasemi_msi_init(struct mpic *mpic);
21#else 19#else