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>
This commit is contained in:
parent
2420a0b179
commit
748b170ca1
|
@ -154,7 +154,6 @@ static inline int apic_force_enable(unsigned long addr)
|
|||
extern int apic_force_enable(unsigned long addr);
|
||||
#endif
|
||||
|
||||
extern void apic_bsp_setup(bool upmode);
|
||||
extern void apic_ap_setup(void);
|
||||
|
||||
/*
|
||||
|
|
|
@ -1350,6 +1350,8 @@ void __init init_bsp_APIC(void)
|
|||
apic_write(APIC_LVT1, value);
|
||||
}
|
||||
|
||||
static void __init apic_bsp_setup(bool upmode);
|
||||
|
||||
/* Init the interrupt delivery mode for the BSP */
|
||||
void __init apic_intr_mode_init(void)
|
||||
{
|
||||
|
@ -2414,11 +2416,8 @@ static void __init apic_bsp_up_setup(void)
|
|||
/**
|
||||
* apic_bsp_setup - Setup function for local apic and io-apic
|
||||
* @upmode: Force UP mode (for APIC_init_uniprocessor)
|
||||
*
|
||||
* Returns:
|
||||
* apic_id of BSP APIC
|
||||
*/
|
||||
void __init apic_bsp_setup(bool upmode)
|
||||
static void __init apic_bsp_setup(bool upmode)
|
||||
{
|
||||
connect_bsp_APIC();
|
||||
if (upmode)
|
||||
|
|
Loading…
Reference in New Issue