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)
commite085255ebce87c0b85d4752638d8a7d4f35f5b64
tree389a7c5574f98bbb65f09d25afcd5e40aad03ee6
parent714542721b4a53a3ebbdd5f0619ac0f66e7df610
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