diff mbox series

[2/2] pvclock: remove EXPORT_SYMBOL_GPL for pvclock_get_pvti_cpu0_va

Message ID 5a337f71a316b4b2dc4661a358110dec9b6cff2e.1621505277.git.chaowu@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series Fix ptp_kvm_get_time_fn infinite loop and remove redundant EXPORT_SYMBOL_GPL | expand

Commit Message

Chao Wu May 25, 2021, 8:44 a.m. UTC
In order to avoid abusing the "pvclock_get_pvti_cpu0_va” interface, we
should remove EXPORT_SYMBOL_GPL for that function.

Signed-off-by: Chao Wu <chaowu@linux.alibaba.com>
Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
---
 arch/x86/kernel/pvclock.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/x86/kernel/pvclock.c b/arch/x86/kernel/pvclock.c
index 637982efecd8..e26940c33d99 100644
--- a/arch/x86/kernel/pvclock.c
+++ b/arch/x86/kernel/pvclock.c
@@ -164,4 +164,3 @@  struct pvclock_vsyscall_time_info *pvclock_get_pvti_cpu0_va(void)
 {
 	return pvti_cpu0_va;
 }
-EXPORT_SYMBOL_GPL(pvclock_get_pvti_cpu0_va);