Skip to content

Commit 2db5f86

Browse files
Yue HaibingKAGA-KOKO
authored andcommitted
x86/apic: Remove unused extern declarations
The removal of get_physical_broadcast(), generic_bigsmp_probe() and default_apic_id_valid() left the stale declarations around. Remove them. Signed-off-by: Yue Haibing <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
1 parent 838ba77 commit 2db5f86

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

arch/x86/include/asm/apic.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ static inline bool apic_is_x2apic_enabled(void)
127127

128128
extern void enable_IR_x2apic(void);
129129

130-
extern int get_physical_broadcast(void);
131-
132130
extern int lapic_get_maxlvt(void);
133131
extern void clear_local_APIC(void);
134132
extern void disconnect_bsp_APIC(int virt_wire_setup);
@@ -508,8 +506,6 @@ static inline bool is_vector_pending(unsigned int vector)
508506
#define TRAMPOLINE_PHYS_LOW 0x467
509507
#define TRAMPOLINE_PHYS_HIGH 0x469
510508

511-
extern void generic_bigsmp_probe(void);
512-
513509
#ifdef CONFIG_X86_LOCAL_APIC
514510

515511
#include <asm/smp.h>
@@ -532,8 +528,6 @@ static inline int default_acpi_madt_oem_check(char *a, char *b) { return 0; }
532528
static inline void x86_64_probe_apic(void) { }
533529
#endif
534530

535-
extern int default_apic_id_valid(u32 apicid);
536-
537531
extern u32 apic_default_calc_apicid(unsigned int cpu);
538532
extern u32 apic_flat_calc_apicid(unsigned int cpu);
539533

0 commit comments

Comments
 (0)