x86/apic/uv: Make x2apic_extra_bits static

Not used outside of the UV apic source.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20190722105219.725264153@linutronix.de
This commit is contained in:
Thomas Gleixner 2019-07-22 20:47:15 +02:00
parent c94f0718fb
commit 82e5747823
2 changed files with 1 additions and 3 deletions

View File

@ -467,8 +467,6 @@ static inline unsigned default_get_apic_id(unsigned long x)
#ifdef CONFIG_X86_64
extern void apic_send_IPI_self(int vector);
DECLARE_PER_CPU(int, x2apic_extra_bits);
#endif
extern void generic_bigsmp_probe(void);

View File

@ -22,7 +22,7 @@
#include <asm/uv/uv.h>
#include <asm/apic.h>
DEFINE_PER_CPU(int, x2apic_extra_bits);
static DEFINE_PER_CPU(int, x2apic_extra_bits);
static enum uv_system_type uv_system_type;
static bool uv_hubless_system;