x86, mrst: Set correct APB timer IRQ affinity for secondary cpu
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Fri, 14 Jan 2011 00:06:44 +0000 (16:06 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 14 Jan 2011 19:53:44 +0000 (11:53 -0800)
commit6550904ddbc3c286798a87edf95eeebcc62bc58a
treea0c41cbc15bdf725d456c63b8151882b5138bb88
parent62627bec8a601c5679bf3d20a2096a1206d61b71
x86, mrst: Set correct APB timer IRQ affinity for secondary cpu

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>
Cc: <stable@kernel.org> 2.6.37
arch/x86/kernel/apb_timer.c