diff options
Diffstat (limited to 'arch/powerpc/sysdev/fsl_msi.h')
-rw-r--r-- | arch/powerpc/sysdev/fsl_msi.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/fsl_msi.h b/arch/powerpc/sysdev/fsl_msi.h index 6574550c00a5..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) |
@@ -31,8 +33,7 @@ struct fsl_msi { | |||
31 | void __iomem *msi_regs; | 33 | void __iomem *msi_regs; |
32 | u32 feature; | 34 | u32 feature; |
33 | 35 | ||
34 | unsigned long *fsl_msi_bitmap; | 36 | struct msi_bitmap bitmap; |
35 | spinlock_t bitmap_lock; | ||
36 | }; | 37 | }; |
37 | 38 | ||
38 | #endif /* _POWERPC_SYSDEV_FSL_MSI_H */ | 39 | #endif /* _POWERPC_SYSDEV_FSL_MSI_H */ |