powerpc/fsl_msi: enable msi allocation in all banks
authorLi Yang <leoli@freescale.com>
Thu, 22 Apr 2010 08:31:36 +0000 (16:31 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 25 May 2010 02:26:32 +0000 (21:26 -0500)
commit694a7a3611a1c0e28d99b4955151c6ce68e89752
treeb8a41e9a07b9407e14c9ece25bbbb289e16228bd
parent02adac6051b0ff8df3877ae3d94e0e68063c6a30
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>
arch/powerpc/sysdev/fsl_msi.c
arch/powerpc/sysdev/fsl_msi.h