aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/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/include/asm/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/include/asm/mpic.h')
-rw-r--r--arch/powerpc/include/asm/mpic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/mpic.h b/arch/powerpc/include/asm/mpic.h
index fe566a348a8..34d9ac433ac 100644
--- a/arch/powerpc/include/asm/mpic.h
+++ b/arch/powerpc/include/asm/mpic.h
@@ -5,6 +5,7 @@
5#include <linux/irq.h> 5#include <linux/irq.h>
6#include <linux/sysdev.h> 6#include <linux/sysdev.h>
7#include <asm/dcr.h> 7#include <asm/dcr.h>
8#include <asm/msi_bitmap.h>
8 9
9/* 10/*
10 * Global registers 11 * Global registers
@@ -301,8 +302,7 @@ struct mpic
301#endif 302#endif
302 303
303#ifdef CONFIG_PCI_MSI 304#ifdef CONFIG_PCI_MSI
304 spinlock_t bitmap_lock; 305 struct msi_bitmap msi_bitmap;
305 unsigned long *hwirq_bitmap;
306#endif 306#endif
307 307
308#ifdef CONFIG_MPIC_BROKEN_REGREAD 308#ifdef CONFIG_MPIC_BROKEN_REGREAD