]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite24da37c8fce4f448e5eb3c9743c8f55d148dd47
tree45a054edd05fc06924e4a62e559ebee79f08efcd
parenta0121bd1adadc6580b6fbf498d52c94207088874
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