aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2014-05-29 05:16:39 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2014-05-30 07:04:59 -0400
commit0fae34f464d1d573d13a6c1a872d90adae435e2a (patch)
treee9afa515a253f08939bfd8b53d60d672b391cdba
parentf74a8e224e32edccade63a23bc260b141b067b1d (diff)
MIPS: KVM: Make kvm_mips_comparecount_{func,wakeup} static
The kvm_mips_comparecount_func() and kvm_mips_comparecount_wakeup() functions are only used within arch/mips/kvm/kvm_mips.c, so make them static. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Gleb Natapov <gleb@kernel.org> Cc: kvm@vger.kernel.org Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Cc: Sanjay Lal <sanjayl@kymasys.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--arch/mips/kvm/kvm_mips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kvm/kvm_mips.c b/arch/mips/kvm/kvm_mips.c
index 7ccb7a532c55..97e9fe1626ce 100644
--- a/arch/mips/kvm/kvm_mips.c
+++ b/arch/mips/kvm/kvm_mips.c
@@ -979,7 +979,7 @@ int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
979 return 0; 979 return 0;
980} 980}
981 981
982void kvm_mips_comparecount_func(unsigned long data) 982static void kvm_mips_comparecount_func(unsigned long data)
983{ 983{
984 struct kvm_vcpu *vcpu = (struct kvm_vcpu *)data; 984 struct kvm_vcpu *vcpu = (struct kvm_vcpu *)data;
985 985
@@ -994,7 +994,7 @@ void kvm_mips_comparecount_func(unsigned long data)
994/* 994/*
995 * low level hrtimer wake routine. 995 * low level hrtimer wake routine.
996 */ 996 */
997enum hrtimer_restart kvm_mips_comparecount_wakeup(struct hrtimer *timer) 997static enum hrtimer_restart kvm_mips_comparecount_wakeup(struct hrtimer *timer)
998{ 998{
999 struct kvm_vcpu *vcpu; 999 struct kvm_vcpu *vcpu;
1000 1000