diff options
author | Milton Miller <miltonm@bga.com> | 2011-05-10 21:30:11 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-05-19 07:31:45 +0200 |
commit | d1921bcdeee66c3d1704ef753dc74464856e4b7f (patch) | |
tree | c8cb951755a6b614cac34114f5c24d2be76762a3 /arch/powerpc/sysdev/mpc8xx_pic.c | |
parent | powerpc/fsl_msi: Don't abuse platform_data for driver_data (diff) | |
download | linux-d1921bcdeee66c3d1704ef753dc74464856e4b7f.tar.xz linux-d1921bcdeee66c3d1704ef753dc74464856e4b7f.zip |
powerpc/fsl_msi: Use chip_data not handler_data
handler_data should be reserved for flow handlers on the dependent
irq, not consumed by the parent irq code that is part of the irq_chip
code. The msi_data pointer was already set in msidesc->irqhost->hostdata
and being copied to irq_data->chipdata in the msidesc->irqhost->map()
method called via create_irq_mapping, so we can obtain the pointer
from there and free the instance it in teardown_msi_irqs.
Also remove the unnecessary cast of irq_get_handler_data in the
cascade handler, which is the demux flow handler of the parent
msi interrupt. (This is the expected usage for handler_data).
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/mpc8xx_pic.c')
0 files changed, 0 insertions, 0 deletions