Commit 748b170c authored by Thomas Gleixner's avatar Thomas Gleixner

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: default avatarThomas Gleixner <tglx@linutronix.de>
parent 2420a0b1
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment