Skip to content

Commit e4dd8b8

Browse files
Christoph HellwigKAGA-KOKO
authored andcommitted
x86/platform/uv: Mark is_uv_hubless() static
is_uv_hubless() is only used in x2apic_uv_x.c. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Not-acked-by: Dimitri Sivanich <[email protected]> Cc: Russ Anderson <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent cc19910 commit e4dd8b8

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

arch/x86/include/asm/uv/uv.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ static inline bool is_early_uv_system(void)
3131
}
3232
extern int is_uv_system(void);
3333
extern int is_uv_hubbed(int uvtype);
34-
extern int is_uv_hubless(int uvtype);
3534
extern void uv_cpu_init(void);
3635
extern void uv_nmi_init(void);
3736
extern void uv_system_init(void);
@@ -44,7 +43,6 @@ static inline enum uv_system_type get_uv_system_type(void) { return UV_NONE; }
4443
static inline bool is_early_uv_system(void) { return 0; }
4544
static inline int is_uv_system(void) { return 0; }
4645
static inline int is_uv_hubbed(int uv) { return 0; }
47-
static inline int is_uv_hubless(int uv) { return 0; }
4846
static inline void uv_cpu_init(void) { }
4947
static inline void uv_system_init(void) { }
5048
static inline const struct cpumask *

arch/x86/kernel/apic/x2apic_uv_x.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,11 +385,10 @@ int is_uv_hubbed(int uvtype)
385385
}
386386
EXPORT_SYMBOL_GPL(is_uv_hubbed);
387387

388-
int is_uv_hubless(int uvtype)
388+
static int is_uv_hubless(int uvtype)
389389
{
390390
return (uv_hubless_system & uvtype);
391391
}
392-
EXPORT_SYMBOL_GPL(is_uv_hubless);
393392

394393
void **__uv_hub_info_list;
395394
EXPORT_SYMBOL_GPL(__uv_hub_info_list);

0 commit comments

Comments
 (0)