aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/tsc.c
diff options
context:
space:
mode:
authorGravatar Borislav Petkov (AMD) <bp@alien8.de> 2022-12-18 21:52:42 +0100
committerGravatar Borislav Petkov (AMD) <bp@alien8.de> 2023-02-11 10:44:07 +0100
commit8fe6d84947582e2c076abc6253b80709fb047935 (patch)
tree1741f53cff70cecac5b487b524009b081b6c39db /arch/x86/kernel/tsc.c
parentx86/cacheinfo: Remove unused trace variable (diff)
downloadlinux-8fe6d84947582e2c076abc6253b80709fb047935.tar.gz
linux-8fe6d84947582e2c076abc6253b80709fb047935.tar.bz2
linux-8fe6d84947582e2c076abc6253b80709fb047935.zip
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) <bp@alien8.de> Link: https://lore.kernel.org/r/Y599miBzWRAuOwhg@zn.tnic
Diffstat (limited to 'arch/x86/kernel/tsc.c')
-rw-r--r--arch/x86/kernel/tsc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c
index a78e73da4a74..eaeffef93a12 100644
--- a/arch/x86/kernel/tsc.c
+++ b/arch/x86/kernel/tsc.c
@@ -912,8 +912,7 @@ void recalibrate_cpu_khz(void)
cpu_khz_old, cpu_khz);
#endif
}
-
-EXPORT_SYMBOL(recalibrate_cpu_khz);
+EXPORT_SYMBOL_GPL(recalibrate_cpu_khz);
static unsigned long long cyc2ns_suspend;