[RFC PATCH] x86/kvm: kvm_hyperv_tsc_notifier() can be static

From: kbuild test robot
Date: Fri Jan 19 2018 - 06:16:27 EST



Fixes: ce386b0e39a0 ("x86/kvm: support Hyper-V reenlightenment")
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
x86.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 94f28e6..27e590a 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -5933,7 +5933,7 @@ static void tsc_khz_changed(void *data)
__this_cpu_write(cpu_tsc_khz, khz);
}

-void kvm_hyperv_tsc_notifier(void)
+static void kvm_hyperv_tsc_notifier(void)
{
#ifdef CONFIG_X86_64
struct kvm *kvm;