Re: [RFC/PATCH 4/4] Simplify xics direct/lpar irq_host setup

2008-04-17 Thread Benjamin Herrenschmidt
On Tue, 2008-04-01 at 17:42 +1100, Michael Ellerman wrote: > 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 > s

[RFC/PATCH 4/4] Simplify xics direct/lpar irq_host setup

2008-03-31 Thread Michael Ellerman
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