]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mpic: Fix irq distribution problem when MPIC_SINGLE_DEST_CPU
authorchenhui zhao <chenhui.zhao@freescale.com>
Mon, 27 May 2013 21:59:43 +0000 (21:59 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 31 May 2013 22:29:24 +0000 (08:29 +1000)
commite10a99e464f941a065598af1b372392a31186be0
tree5dc04865bd28f94e54a79a47a37a6186bd734fe1
parent2c229cab997b1728971d6432fd8bb390e972a58b
powerpc/mpic: Fix irq distribution problem when MPIC_SINGLE_DEST_CPU

For the mpic with a flag MPIC_SINGLE_DEST_CPU, only one bit should be
set in interrupt destination registers.

The code is applicable to 64-bit platforms as well as 32-bit.

Signed-off-by: Zhao Chenhui <chenhui.zhao@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/mpic.c