powerpc/mpic: Fix problem that affinity is not updated
authorYang Li <leoli@freescale.com>
Wed, 16 Dec 2009 20:18:11 +0000 (20:18 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 18 Dec 2009 04:13:57 +0000 (15:13 +1100)
commit38e1313fc753482b93aa6c6f11cfbd43a5bcd963
tree0adcc3a9db52c5689b9386673f22fa0f892a7630
parenta1128f8f0ff06ccbea5d6b4a69446b506c57bfbc
powerpc/mpic: Fix problem that affinity is not updated

Since commit 57b150cce8e004ddd36330490a68bfb59b7271e9, desc->affinity
of an irq is changed after calling desc->chip->set_affinity.
Therefore we need to fix the irq_choose_cpu() not to depend on the
desc->affinity for new mask.

Signed-off-by: Jiajun Wu <b06378@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/mpic.c