[POWERPC] Split virq setup logic out into irq_setup_virq()
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 4 Jun 2007 12:59:59 +0000 (22:59 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 25 Jun 2007 07:02:06 +0000 (17:02 +1000)
commit6fde40f3f1a9641ea0a41471cea77f34c0cbb36f
tree409e4d0ea2f0c9af6c1a61eb2f3bf40fd2d849d9
parent35923f12e42a3baf4ac6da7c05cf5f7478e5a7c6
[POWERPC] Split virq setup logic out into irq_setup_virq()

A future patch will need the logic at the end of irq_create_mapping()
which setups a virq and installs it in the irq_map. So split it out
into a new function irq_setup_virq().

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>
arch/powerpc/kernel/irq.c