powerpc/axon_msi: Validate msi irq via chip_data
authorMilton Miller <miltonm@bga.com>
Tue, 10 May 2011 19:30:33 +0000 (19:30 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 May 2011 05:31:57 +0000 (15:31 +1000)
commit9553361499f9f9e8ca8c9dae2e103f651fa48217
treebb96161231f4ff21805491238306f220c34cf99c
parent6b0aea44d6b36b52010d206be69ce37c2f4f1bd1
powerpc/axon_msi: Validate msi irq via chip_data

Instead of checking for rogue msi numbers via the irq_map host field
set the chip_data to h.host_data (which is the msic struct pointer)
at map and compare it in get_irq.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/cell/axon_msi.c