diff options
author | Borislav Petkov (AMD) <bp@alien8.de> | 2022-12-18 21:52:42 +0100 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-02-11 10:44:07 +0100 |
commit | 8fe6d84947582e2c076abc6253b80709fb047935 (patch) | |
tree | 1741f53cff70cecac5b487b524009b081b6c39db | |
parent | 851026a2bf54e739a2e13723bf3c4513f3cbcdc9 (diff) | |
download | linux-stable-8fe6d84947582e2c076abc6253b80709fb047935.tar.gz linux-stable-8fe6d84947582e2c076abc6253b80709fb047935.tar.bz2 linux-stable-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
-rw-r--r-- | arch/x86/kernel/tsc.c | 3 |
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; |