x86/apic: Unify interrupt mode setup for UP system
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Wed, 13 Sep 2017 09:12:50 +0000 (17:12 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 25 Sep 2017 13:03:16 +0000 (15:03 +0200)
commit0c759131ae568f2e620485662104ab8c1e770c81
tree53bc112f6b829d4d11e5752a92625e66fea69eb6
parent4f45ed9f848f0721967e2f79e5409b6538894a43
x86/apic: Unify interrupt mode setup for UP system

In UniProcessor kernel with UP_LATE_INIT=y, the interrupt delivery mode is
initialized in up_late_init().

Use the new unified apic_intr_mode_init() function and remove
APIC_init_uniprocessor().

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-8-git-send-email-douly.fnst@cn.fujitsu.com
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/apic.c