x86, mrst: Set correct APB timer IRQ affinity for secondary cpu
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Fri, 18 Feb 2011 00:58:21 +0000 (16:58 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Feb 2011 22:54:31 +0000 (14:54 -0800)
commit8cc8e3f986fcb39f707e32f68d12a896f673dba0
treec44a0e3a79b94759986af98b757a27f557f5f028
parent780a56a9ead19b8605dc6a67cf3e1160eb780a04
x86, mrst: Set correct APB timer IRQ affinity for secondary cpu

This is a backport for 2.6.37 stable. The original commit ID is
6550904ddbc3c286798a87edf95eeebcc62bc58a

Offlining the secondary CPU causes the timer irq affinity to be set to
CPU 0. When the secondary CPU is back online again, the wrong irq
affinity will be used.

This patch ensures secondary per CPU timer always has the correct
IRQ affinity when enabled.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
LKML-Reference: <1294963604-18111-1-git-send-email-jacob.jun.pan@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/apb_timer.c