[POWERPC] Add irq_create_direct_mapping()
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 4 Jun 2007 13:00:00 +0000 (23:00 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 25 Jun 2007 07:02:07 +0000 (17:02 +1000)
commitee51de5645edee4124db6a479d2e135ebe436748
treeac1ceab5d8051ca458b8a5f94377eec899dc97cc
parent6fde40f3f1a9641ea0a41471cea77f34c0cbb36f
[POWERPC] Add irq_create_direct_mapping()

This patch adds irq_create_direct_mapping().  This routine is
an alternative to irq_create_mapping(), for irq controllers that
can use linux virq numbers directly as hardware numbers.

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
include/asm-powerpc/irq.h