Skip to content

Commit

Permalink
x86/kvm/guest: Fix sparse warning: "symbol 'klock_waiting' was not de…
Browse files Browse the repository at this point in the history
…clared 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>
  • Loading branch information
Raghavendra K T authored and Ingo Molnar committed Aug 19, 2013
1 parent 92b7520 commit 36bd621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/kvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 36bd621

Please sign in to comment.