Skip to content

Commit 2bd04b6

Browse files
Christoph HellwigKAGA-KOKO
authored andcommitted
x86/platform/uv: Unexport symbols only used by x2apic_uv_x.c
uv_bios_set_legacy_vga_target, uv_bios_freq_base, uv_bios_get_sn_info, uv_type, system_serial_number and sn_region_size are only used in x2apic_uv_x.c, which can't be modular. 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 23e1a65 commit 2bd04b6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

arch/x86/platform/uv/bios_uv.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,7 @@ long sn_coherency_id;
8383
long sn_region_size;
8484
EXPORT_SYMBOL_GPL(sn_region_size);
8585
long system_serial_number;
86-
EXPORT_SYMBOL_GPL(system_serial_number);
8786
int uv_type;
88-
EXPORT_SYMBOL_GPL(uv_type);
89-
9087

9188
s64 uv_bios_get_sn_info(int fc, int *uvtype, long *partid, long *coher,
9289
long *region, long *ssn)
@@ -113,7 +110,6 @@ s64 uv_bios_get_sn_info(int fc, int *uvtype, long *partid, long *coher,
113110
*ssn = v1;
114111
return ret;
115112
}
116-
EXPORT_SYMBOL_GPL(uv_bios_get_sn_info);
117113

118114
int
119115
uv_bios_mq_watchlist_alloc(unsigned long addr, unsigned int mq_size,
@@ -164,7 +160,6 @@ s64 uv_bios_freq_base(u64 clock_type, u64 *ticks_per_second)
164160
return uv_bios_call(UV_BIOS_FREQ_BASE, clock_type,
165161
(u64)ticks_per_second, 0, 0, 0);
166162
}
167-
EXPORT_SYMBOL_GPL(uv_bios_freq_base);
168163

169164
/*
170165
* uv_bios_set_legacy_vga_target - Set Legacy VGA I/O Target
@@ -183,7 +178,6 @@ int uv_bios_set_legacy_vga_target(bool decode, int domain, int bus)
183178
return uv_bios_call(UV_BIOS_SET_LEGACY_VGA_TARGET,
184179
(u64)decode, (u64)domain, (u64)bus, 0, 0);
185180
}
186-
EXPORT_SYMBOL_GPL(uv_bios_set_legacy_vga_target);
187181

188182
int uv_bios_init(void)
189183
{

0 commit comments

Comments
 (0)