diff options
author | Dou Liyang <douly.fnst@cn.fujitsu.com> | 2017-09-13 17:12:50 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-09-25 15:03:16 +0200 |
commit | 0c759131ae568f2e620485662104ab8c1e770c81 (patch) | |
tree | 53bc112f6b829d4d11e5752a92625e66fea69eb6 /arch/x86/include/asm/apic.h | |
parent | 4f45ed9f848f0721967e2f79e5409b6538894a43 (diff) | |
download | linux-stable-0c759131ae568f2e620485662104ab8c1e770c81.tar.gz linux-stable-0c759131ae568f2e620485662104ab8c1e770c81.tar.bz2 linux-stable-0c759131ae568f2e620485662104ab8c1e770c81.zip |
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
Diffstat (limited to 'arch/x86/include/asm/apic.h')
-rw-r--r-- | arch/x86/include/asm/apic.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h index 01f3fc8f8691..983a0dc564b3 100644 --- a/arch/x86/include/asm/apic.h +++ b/arch/x86/include/asm/apic.h @@ -144,7 +144,6 @@ void register_lapic_address(unsigned long address); extern void setup_boot_APIC_clock(void); extern void setup_secondary_APIC_clock(void); extern void lapic_update_tsc_freq(void); -extern int APIC_init_uniprocessor(void); #ifdef CONFIG_X86_64 static inline int apic_force_enable(unsigned long addr) |