[POWERPC] Simplify xics direct/lpar irq_host setup
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 1 Apr 2008 06:42:27 +0000 (17:42 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 18 Apr 2008 05:36:11 +0000 (15:36 +1000)
The xics code currently has a direct and lpar variant of
xics_host_map, the only difference being which irq_chip they use.  If
we remember which irq_chip we're using we can combine these two
routines.  That also allows us to have a single irq_host_ops instead
of two.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found