[POWERPC] Update irq descriptor affinity
commita52572ddcd3d16cc5ccc9679bcbb7256d0ddad84
authorNathan Fontenot <nfont@austin.ibm.com>
Wed, 6 Feb 2008 20:37:26 +0000 (7 07:37 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 7 Feb 2008 00:40:19 +0000 (7 11:40 +1100)
treec19abad35b95d8e270367857e8abb705b8b1da08
parent25431333813686654907ab987fb5de10c10a16db
[POWERPC] Update irq descriptor affinity

The affinity mask in the virq descriptor needs to be set before we
reset the affinity for the virq.  Without doing this the call to get
the new irq server fails and we end up leaving the virq pinned to the
cpu we are removing.

This does not fail the cpu remove from the kernel, but it does prevent
cpu dlpar remove operations from returning the cpu to the hypervisor.

Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/xics.c