]> git.baikalelectronics.ru Git - kernel.git/commit
x86/apic: Split local APIC timer setup from the APIC setup
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Wed, 13 Sep 2017 09:12:46 +0000 (17:12 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 25 Sep 2017 13:03:14 +0000 (15:03 +0200)
commitc41bcb136169f03ec5a1b7eecd51e912d02af953
tree54ff45bb7fc94dd4eea2d370c77cfe6e8384c702
parent18243ce6b5ad1dd9ad44763f300ddf300ef4456e
x86/apic: Split local APIC timer setup from the APIC setup

apic_bsp_setup() sets up the local APIC, I/O APIC and APIC timer.

The local APIC and I/O APIC setup belongs to interrupt delivery mode
setup. Setting up the local APIC timer for booting CPU is another job
and has nothing to do with interrupt delivery mode setup.

Split local APIC timer setup from the APIC setup, keep it in the original
position for SMP and UP kernel for now.

Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: yinghai@kernel.org
Cc: bhe@redhat.com
Link: https://lkml.kernel.org/r/1505293975-26005-4-git-send-email-douly.fnst@cn.fujitsu.com
arch/x86/kernel/apic/apic.c
arch/x86/kernel/smpboot.c