diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2014-08-28 09:13:03 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-08-29 10:35:55 -0400 |
commit | 13a34e067eab24fec882e1834fbf2cc31911d474 (patch) | |
tree | 62efa3909464b023f142634b18d3c98cc489b00d /arch/mips | |
parent | 0865e636aef751966e6e0f8950a26bc7391e923c (diff) |
KVM: remove garbage arg to *hardware_{en,dis}able
In the beggining was on_each_cpu(), which required an unused argument to
kvm_arch_ops.hardware_{en,dis}able, but this was soon forgotten.
Remove unnecessary arguments that stem from this.
Signed-off-by: Radim KrÄmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/asm/kvm_host.h | 2 | ||||
-rw-r--r-- | arch/mips/kvm/mips.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/include/asm/kvm_host.h b/arch/mips/include/asm/kvm_host.h index 0b24d6622ec1..f2c249796ea8 100644 --- a/arch/mips/include/asm/kvm_host.h +++ b/arch/mips/include/asm/kvm_host.h | |||
@@ -762,7 +762,7 @@ extern int kvm_mips_trans_mtc0(uint32_t inst, uint32_t *opc, | |||
762 | extern void kvm_mips_dump_stats(struct kvm_vcpu *vcpu); | 762 | extern void kvm_mips_dump_stats(struct kvm_vcpu *vcpu); |
763 | extern unsigned long kvm_mips_get_ramsize(struct kvm *kvm); | 763 | extern unsigned long kvm_mips_get_ramsize(struct kvm *kvm); |
764 | 764 | ||
765 | static inline void kvm_arch_hardware_disable(void *garbage) {} | 765 | static inline void kvm_arch_hardware_disable(void) {} |
766 | static inline void kvm_arch_hardware_unsetup(void) {} | 766 | static inline void kvm_arch_hardware_unsetup(void) {} |
767 | static inline void kvm_arch_sync_events(struct kvm *kvm) {} | 767 | static inline void kvm_arch_sync_events(struct kvm *kvm) {} |
768 | static inline void kvm_arch_free_memslot(struct kvm *kvm, | 768 | static inline void kvm_arch_free_memslot(struct kvm *kvm, |
diff --git a/arch/mips/kvm/mips.c b/arch/mips/kvm/mips.c index 0ec7490d70bd..e3b21e51ff7e 100644 --- a/arch/mips/kvm/mips.c +++ b/arch/mips/kvm/mips.c | |||
@@ -77,7 +77,7 @@ int kvm_arch_vcpu_should_kick(struct kvm_vcpu *vcpu) | |||
77 | return 1; | 77 | return 1; |
78 | } | 78 | } |
79 | 79 | ||
80 | int kvm_arch_hardware_enable(void *garbage) | 80 | int kvm_arch_hardware_enable(void) |
81 | { | 81 | { |
82 | return 0; | 82 | return 0; |
83 | } | 83 | } |