]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mpic: Fix regression caused by change of default IRQ affinity
authorKumar Gala <galak@kernel.crashing.org>
Tue, 28 Oct 2008 18:01:39 +0000 (18:01 +0000)
committerPaul Mackerras <paulus@samba.org>
Fri, 31 Oct 2008 05:13:50 +0000 (16:13 +1100)
commitcb0cefbaf24286737c9724d46a2ba7cc83e5483b
tree002769098cd2b53aad995acac3c42f0331302588
parentdc70c1e9d0299d1302856074bd85ca6ffc05b09c
powerpc/mpic: Fix regression caused by change of default IRQ affinity

The Freescale implementation of MPIC only allows a single CPU destination
for non-IPI interrupts.  We add a flag to the mpic_init to distinquish
these variants of MPIC.  We pull in the irq_choose_cpu from sparc64 to
select a single CPU as the destination of the interrupt.

This is to deal with the fact that the default smp affinity was
changed by commit fdd62585f1cdfb4306a1045c7800bf4b328056cc ("genirq:
Expose default irq affinity mask (take 3)") to be all CPUs.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/mpic.h
arch/powerpc/platforms/85xx/mpc85xx_ds.c
arch/powerpc/platforms/86xx/pic.c
arch/powerpc/sysdev/mpic.c