]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/xics: Cleanup xics_host_map and ipi
authorMilton Miller <miltonm@bga.com>
Tue, 10 May 2011 19:29:49 +0000 (19:29 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 May 2011 05:31:33 +0000 (15:31 +1000)
commit11fff396de2c2e7501df7f910b8954cd1d43e1db
tree389a7c5574f98bbb65f09d25afcd5e40aad03ee6
parent2945768422f5d3b9e193062bfe6151e596b7e327
powerpc/xics: Cleanup xics_host_map and ipi

Since we already have a special case in map to set the ipi handler, use
the desired flow.

If we don't find an ics to handle the interrupt complain instead of
returning 0 without having set a chip or handler.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/xics/xics-common.c