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/s390 | |
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/s390')
-rw-r--r-- | arch/s390/include/asm/kvm_host.h | 2 | ||||
-rw-r--r-- | arch/s390/kvm/kvm-s390.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h index f6dd90684b97..a76a124dff48 100644 --- a/arch/s390/include/asm/kvm_host.h +++ b/arch/s390/include/asm/kvm_host.h | |||
@@ -452,7 +452,7 @@ void kvm_arch_async_page_present(struct kvm_vcpu *vcpu, | |||
452 | extern int sie64a(struct kvm_s390_sie_block *, u64 *); | 452 | extern int sie64a(struct kvm_s390_sie_block *, u64 *); |
453 | extern char sie_exit; | 453 | extern char sie_exit; |
454 | 454 | ||
455 | static inline void kvm_arch_hardware_disable(void *garbage) {} | 455 | static inline void kvm_arch_hardware_disable(void) {} |
456 | static inline void kvm_arch_check_processor_compat(void *rtn) {} | 456 | static inline void kvm_arch_check_processor_compat(void *rtn) {} |
457 | static inline void kvm_arch_exit(void) {} | 457 | static inline void kvm_arch_exit(void) {} |
458 | static inline void kvm_arch_sync_events(struct kvm *kvm) {} | 458 | static inline void kvm_arch_sync_events(struct kvm *kvm) {} |
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index b8fe1ae777db..628e992eeded 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c | |||
@@ -100,7 +100,7 @@ int test_vfacility(unsigned long nr) | |||
100 | } | 100 | } |
101 | 101 | ||
102 | /* Section: not file related */ | 102 | /* Section: not file related */ |
103 | int kvm_arch_hardware_enable(void *garbage) | 103 | int kvm_arch_hardware_enable(void) |
104 | { | 104 | { |
105 | /* every s390 is virtualization enabled ;-) */ | 105 | /* every s390 is virtualization enabled ;-) */ |
106 | return 0; | 106 | return 0; |