Skip to content

Commit 82e5747

Browse files
committed
x86/apic/uv: Make x2apic_extra_bits static
Not used outside of the UV apic source. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent c94f071 commit 82e5747

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

arch/x86/include/asm/apic.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,6 @@ static inline unsigned default_get_apic_id(unsigned long x)
467467

468468
#ifdef CONFIG_X86_64
469469
extern void apic_send_IPI_self(int vector);
470-
471-
DECLARE_PER_CPU(int, x2apic_extra_bits);
472470
#endif
473471

474472
extern void generic_bigsmp_probe(void);

arch/x86/kernel/apic/x2apic_uv_x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <asm/uv/uv.h>
2323
#include <asm/apic.h>
2424

25-
DEFINE_PER_CPU(int, x2apic_extra_bits);
25+
static DEFINE_PER_CPU(int, x2apic_extra_bits);
2626

2727
static enum uv_system_type uv_system_type;
2828
static bool uv_hubless_system;

0 commit comments

Comments
 (0)