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 <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>
This commit is contained in:
committed by
Ingo Molnar
parent
92b75202e5
commit
36bd621337
@@ -529,7 +529,7 @@ arch_initcall(activate_jump_labels);
|
|||||||
#ifdef CONFIG_PARAVIRT_SPINLOCKS
|
#ifdef CONFIG_PARAVIRT_SPINLOCKS
|
||||||
|
|
||||||
/* Kick a cpu by its apicid. Used to wake up a halted vcpu */
|
/* 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;
|
int apicid;
|
||||||
unsigned long flags = 0;
|
unsigned long flags = 0;
|
||||||
|
Reference in New Issue
Block a user