[POWERPC] Invert null match behaviour for irq_hosts
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 28 Aug 2007 08:47:55 +0000 (18:47 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 13 Sep 2007 15:33:20 +0000 (01:33 +1000)
commit8528ab84ebe7a1eeed9b0acc808df86663d506c0
treeb1037def36002586de1e366686376e29e451199d
parent52964f87c64e6c6ea671b5bf3030fb1494090a48
[POWERPC] Invert null match behaviour for irq_hosts

Currently if you don't specify a match callback for your irq_host it's
assumed you match everything. This is a kind of opt-out approach, and
turns out to be the exception rather than the rule.

So change the semantics to be opt-in, ie. you don't match anything unless
you provide a match callback.  This in itself isn't very useful, but will
allow us to provide a default match implementation in a subsequent patch.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/irq.c
arch/powerpc/platforms/celleb/interrupt.c
arch/powerpc/platforms/iseries/irq.c
arch/powerpc/platforms/ps3/interrupt.c