[POWERPC] Make irq_dispose_mapping(NO_IRQ) a nop
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 24 Oct 2006 03:37:34 +0000 (13:37 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 25 Oct 2006 04:20:20 +0000 (14:20 +1000)
commit5414c6be57dd02e089c3eba1f5134f441733d013
treecba51e6f4cb80eade6ad107b757ce38d95c249a0
parenta0f467261ae041864414103b8dd6fc4487a3c7de
[POWERPC] Make irq_dispose_mapping(NO_IRQ) a nop

It makes for a friendlier API if irq_dispose_mapping(NO_IRQ) is a
nop, rather than triggering a WARN_ON.

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