]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 Nov 2008 22:54:47 +0000 (14:54 -0800)
commit591ffdd8f5f92f9245071131ae137568d1940ba0
tree997dd41807d3ed4cac2fd9a48f11fd5f96d86bf1
parentb1bb48b574a9148eb8e8c2723f3444e04ca09437
powerpc/mpic: Fix regression caused by change of default IRQ affinity

commit 3c10c9c45e290022ca7d2aa1ad33a0b6ed767520 upstream.

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 18404756765c713a0be4eb1082920c04822ce588 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/include/asm/mpic.h
arch/powerpc/platforms/85xx/mpc85xx_ds.c
arch/powerpc/platforms/86xx/pic.c
arch/powerpc/sysdev/mpic.c