]> 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)
commit15c5dd705b5c6338ce086a9914c429152d814461
tree5dc04865bd28f94e54a79a47a37a6186bd734fe1
parent621871b98fe87982ae96192e47285ff33ef43246
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