Skip to content

Commit 8fe6d84

Browse files
committed
x86/tsc: Make recalibrate_cpu_khz() export GPL only
A quick search doesn't reveal any use outside of the kernel - which would be questionable to begin with anyway - so make the export GPL only. Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 851026a commit 8fe6d84

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/x86/kernel/tsc.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -912,8 +912,7 @@ void recalibrate_cpu_khz(void)
912912
cpu_khz_old, cpu_khz);
913913
#endif
914914
}
915-
916-
EXPORT_SYMBOL(recalibrate_cpu_khz);
915+
EXPORT_SYMBOL_GPL(recalibrate_cpu_khz);
917916

918917

919918
static unsigned long long cyc2ns_suspend;

0 commit comments

Comments
 (0)