powerpc/spider-pic: Get pic from chip_data instead of irq_map
authorMilton Miller <miltonm@bga.com>
Tue, 10 May 2011 19:30:29 +0000 (19:30 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 May 2011 05:31:55 +0000 (15:31 +1000)
commit6b0aea44d6b36b52010d206be69ce37c2f4f1bd1
tree9e2155493d917b2536cf64aa0cb3c0aed61c05fd
parentda0519800260a3c791b4fe3317a0c7560027a372
powerpc/spider-pic: Get pic from chip_data instead of irq_map

Building on Grant's efforts to remove the irq_map array, this patch
moves spider-pics use of virq_to_host() to use irq_data_get_chip_data
and sets the irq chip data in the map call, like most other interrupt
controllers in powerpc.

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