Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/apic: Make apic_bsp_setup() static

No user outside of apic.c. Remove the stale and bogus function comment
while at it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

+3 -5
-1
arch/x86/include/asm/apic.h
··· 154 154 extern int apic_force_enable(unsigned long addr); 155 155 #endif 156 156 157 - extern void apic_bsp_setup(bool upmode); 158 157 extern void apic_ap_setup(void); 159 158 160 159 /*
+3 -4
arch/x86/kernel/apic/apic.c
··· 1350 1350 apic_write(APIC_LVT1, value); 1351 1351 } 1352 1352 1353 + static void __init apic_bsp_setup(bool upmode); 1354 + 1353 1355 /* Init the interrupt delivery mode for the BSP */ 1354 1356 void __init apic_intr_mode_init(void) 1355 1357 { ··· 2416 2414 /** 2417 2415 * apic_bsp_setup - Setup function for local apic and io-apic 2418 2416 * @upmode: Force UP mode (for APIC_init_uniprocessor) 2419 - * 2420 - * Returns: 2421 - * apic_id of BSP APIC 2422 2417 */ 2423 - void __init apic_bsp_setup(bool upmode) 2418 + static void __init apic_bsp_setup(bool upmode) 2424 2419 { 2425 2420 connect_bsp_APIC(); 2426 2421 if (upmode)