Skip to content

Commit

Permalink
x86/apic/uv: Make x2apic_extra_bits static
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Thomas Gleixner committed Jul 25, 2019
1 parent c94f071 commit 82e5747
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions arch/x86/include/asm/apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/kernel/apic/x2apic_uv_x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 82e5747

Please sign in to comment.