]> 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)
commite9631dc4d39c41ca6478a830e50b8e568db2d826
tree389a7c5574f98bbb65f09d25afcd5e40aad03ee6
parent82ace79058bcd9c171479fcaeda90689ecd7db5e
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