powerpc/fsl_msi: fix the conflict of virt_msir's chip_data
authorLi Yang <leoli@freescale.com>
Thu, 22 Apr 2010 08:31:35 +0000 (16:31 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 25 May 2010 02:26:31 +0000 (21:26 -0500)
commit02adac6051b0ff8df3877ae3d94e0e68063c6a30
treea765f0123b46e3fe0989a0808e37abe50d180f7c
parent8081881327d4791f26ebf56cf304992673503ad4
powerpc/fsl_msi: fix the conflict of virt_msir's chip_data

In fsl_of_msi_probe(), the virt_msir's chip_data have been stored
the pointer to struct mpic. We add a struct fsl_msi_cascade_data
to store the pointer to struct fsl_msi and msir_index in hanler_data.
Otherwise, the pointer to struct mpic will be over-written, and will
cause problem when calling eoi() of the irq.

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