summaryrefslogtreecommitdiffstats
path: root/arch/mn10300
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2011-05-10 21:30:11 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-05-19 07:31:45 +0200
commitd1921bcdeee66c3d1704ef753dc74464856e4b7f (patch)
treec8cb951755a6b614cac34114f5c24d2be76762a3 /arch/mn10300
parentpowerpc/fsl_msi: Don't abuse platform_data for driver_data (diff)
downloadlinux-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/mn10300')
0 files changed, 0 insertions, 0 deletions