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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);

/*
+3 −4
Original line number Diff line number Diff line
@@ -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)