powerpc/xics: Move irq_host matching into the ics backend
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 14 Apr 2011 22:31:59 +0000 (22:31 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 20 Apr 2011 07:01:20 +0000 (17:01 +1000)
commit5ca123760177ed16cbd9bab609bff69eb8fc45bd
tree45a054edd05fc06924e4a62e559ebee79f08efcd
parentab814b938d1d372bd2ac6268c15d4e0e6a5245c4
powerpc/xics: Move irq_host matching into the ics backend

An upcoming new ics backend will need to implement different matching
semantics to the current ones, which are essentially the RTAS ics
backends. So move the current match into the RTAS backend, and allow
other ics backends to override.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/xics.h
arch/powerpc/sysdev/xics/ics-rtas.c
arch/powerpc/sysdev/xics/xics-common.c