aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/fsl_msi.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/sysdev/fsl_msi.h')
-rw-r--r--arch/powerpc/sysdev/fsl_msi.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/powerpc/sysdev/fsl_msi.h b/arch/powerpc/sysdev/fsl_msi.h
index a653468521fa..331c7e7025b7 100644
--- a/arch/powerpc/sysdev/fsl_msi.h
+++ b/arch/powerpc/sysdev/fsl_msi.h
@@ -13,6 +13,8 @@
13#ifndef _POWERPC_SYSDEV_FSL_MSI_H 13#ifndef _POWERPC_SYSDEV_FSL_MSI_H
14#define _POWERPC_SYSDEV_FSL_MSI_H 14#define _POWERPC_SYSDEV_FSL_MSI_H
15 15
16#include <asm/msi_bitmap.h>
17
16#define NR_MSI_REG 8 18#define NR_MSI_REG 8
17#define IRQS_PER_MSI_REG 32 19#define IRQS_PER_MSI_REG 32
18#define NR_MSI_IRQS (NR_MSI_REG * IRQS_PER_MSI_REG) 20#define NR_MSI_IRQS (NR_MSI_REG * IRQS_PER_MSI_REG)
@@ -22,9 +24,6 @@
22#define FSL_PIC_IP_IPIC 0x00000002 24#define FSL_PIC_IP_IPIC 0x00000002
23 25
24struct fsl_msi { 26struct fsl_msi {
25 /* Device node of the MSI interrupt*/
26 struct device_node *of_node;
27
28 struct irq_host *irqhost; 27 struct irq_host *irqhost;
29 28
30 unsigned long cascade_irq; 29 unsigned long cascade_irq;
@@ -34,8 +33,7 @@ struct fsl_msi {
34 void __iomem *msi_regs; 33 void __iomem *msi_regs;
35 u32 feature; 34 u32 feature;
36 35
37 unsigned long *fsl_msi_bitmap; 36 struct msi_bitmap bitmap;
38 spinlock_t bitmap_lock;
39}; 37};
40 38
41#endif /* _POWERPC_SYSDEV_FSL_MSI_H */ 39#endif /* _POWERPC_SYSDEV_FSL_MSI_H */