projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
851026a
)
x86/tsc: Make recalibrate_cpu_khz() export GPL only
author
Borislav Petkov (AMD)
<bp@alien8.de>
Sun, 18 Dec 2022 20:52:42 +0000
(21:52 +0100)
committer
Borislav Petkov (AMD)
<bp@alien8.de>
Sat, 11 Feb 2023 09:44:07 +0000
(10:44 +0100)
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
arch/x86/kernel/tsc.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/tsc.c
b/arch/x86/kernel/tsc.c
index a78e73da4a74b351bf82407babe079b0b057fbc1..eaeffef93a12a918771e74b99f077473a8c14471 100644
(file)
--- 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;