From: Raghavendra K T Date: Fri, 16 Aug 2013 09:38:41 +0000 (+0530) Subject: x86/kvm/guest: Fix sparse warning: "symbol 'klock_waiting' was not declared as static" X-Git-Tag: v3.12-rc1~152^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=36bd621337c91a1ecda588e5bbbae8dd9698bae7;p=profile%2Fivi%2Fkernel-x86-ivi.git x86/kvm/guest: Fix sparse warning: "symbol 'klock_waiting' was not declared as static" It was not declared as static since it was thought to be used by pv-flushtlb earlier. Signed-off-by: Raghavendra K T Cc: Cc: Cc: Jiri Kosina Link: http://lkml.kernel.org/r/1376645921-8056-1-git-send-email-raghavendra.kt@linux.vnet.ibm.com Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index b8ef630..56e2fa4 100644 --- a/arch/x86/kernel/kvm.c +++ b/arch/x86/kernel/kvm.c @@ -529,7 +529,7 @@ arch_initcall(activate_jump_labels); #ifdef CONFIG_PARAVIRT_SPINLOCKS /* Kick a cpu by its apicid. Used to wake up a halted vcpu */ -void kvm_kick_cpu(int cpu) +static void kvm_kick_cpu(int cpu) { int apicid; unsigned long flags = 0;