]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
x86/kvm/guest: Fix sparse warning: "symbol 'klock_waiting' was not declared as static"
authorRaghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Fri, 16 Aug 2013 09:38:41 +0000 (15:08 +0530)
committerIngo Molnar <mingo@kernel.org>
Mon, 19 Aug 2013 09:49:50 +0000 (11:49 +0200)
It was not declared as static since it was thought to be used by
pv-flushtlb earlier.

Signed-off-by: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Cc: <gleb@redhat.com>
Cc: <pbonzini@redhat.com>
Cc: Jiri Kosina <trivial@kernel.org>
Link: http://lkml.kernel.org/r/1376645921-8056-1-git-send-email-raghavendra.kt@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/kvm.c

index b8ef6305cf35b2872c81cf540c406aad8398b42c..56e2fa4a8b13a203b7a8ec5ddde3d0c058449006 100644 (file)
@@ -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;