]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27e33e9c4e73af325dc5fb9316d8af95cc574c57
treea0c41cbc15bdf725d456c63b8151882b5138bb88
parent70ae761013924e98cb9b6000f623a085058eb097
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