diff options
author | Li Yang <leoli@freescale.com> | 2010-04-22 16:31:36 +0800 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-05-24 21:26:32 -0500 |
commit | 694a7a3611a1c0e28d99b4955151c6ce68e89752 (patch) | |
tree | b8a41e9a07b9407e14c9ece25bbbb289e16228bd /arch/powerpc/sysdev/fsl_msi.h | |
parent | 02adac6051b0ff8df3877ae3d94e0e68063c6a30 (diff) | |
download | kernel_samsung_tuna-694a7a3611a1c0e28d99b4955151c6ce68e89752.zip kernel_samsung_tuna-694a7a3611a1c0e28d99b4955151c6ce68e89752.tar.gz kernel_samsung_tuna-694a7a3611a1c0e28d99b4955151c6ce68e89752.tar.bz2 |
powerpc/fsl_msi: enable msi allocation in all banks
Put all fsl_msi banks in a linked list. The list of banks then can be
traversed when allocating new msi interrupts. Also fix failing path
of fsl_setup_msi_irqs().
Signed-off-by: Zhao Chenhui <b26998@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_msi.h')
-rw-r--r-- | arch/powerpc/sysdev/fsl_msi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_msi.h b/arch/powerpc/sysdev/fsl_msi.h index 331c7e7..8fc5523 100644 --- a/arch/powerpc/sysdev/fsl_msi.h +++ b/arch/powerpc/sysdev/fsl_msi.h @@ -34,6 +34,8 @@ struct fsl_msi { u32 feature; struct msi_bitmap bitmap; + + struct list_head list; /* support multiple MSI banks */ }; #endif /* _POWERPC_SYSDEV_FSL_MSI_H */ |