powerpc/mpic: Make distribute_irqs obey MPIC_SINGLE_DEST_CPU
authorScott Wood <scottwood@freescale.com>
Fri, 11 Jan 2013 13:38:40 +0000 (13:38 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 29 Jan 2013 00:35:04 +0000 (11:35 +1100)
commit7bd9fc556d8f5752c86fa09cbaa3c1c3ab5da86f
treef943e6b0817fc308dafd003bfbc4c47181f0e4f7
parent145c52d5ce304f93e15f6a0b4471b2ffae37b3a8
powerpc/mpic: Make distribute_irqs obey MPIC_SINGLE_DEST_CPU

Previously we were setting an illegal configuration on mpc85xx
MPICs if CONFIG_IRQ_ALL_CPUS is enabled (which for some reason it is
in mpc85xx_smp_defconfig).

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/mpic.c