diff options
author | Andrew Jones | 2020-08-04 19:06:01 +0200 |
---|---|---|
committer | Marc Zyngier | 2020-08-21 14:04:14 +0100 |
commit | 4d2d4ce001f283ed8127173543b4cfb65641e357 (patch) | |
tree | b5b89b639c50992b6f10cd3dd23eace72238db65 /arch/arm64 | |
parent | 2dbd780e34ac53e79c6c359ce12b89ed665ef562 (diff) |
KVM: arm64: Drop type input from kvm_put_guest
We can use typeof() to avoid the need for the type input.
Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200804170604.42662-4-drjones@redhat.com
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/kvm/pvtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/pvtime.c b/arch/arm64/kvm/pvtime.c index 95f9580275b1..241ded7ee0ad 100644 --- a/arch/arm64/kvm/pvtime.c +++ b/arch/arm64/kvm/pvtime.c @@ -32,7 +32,7 @@ void kvm_update_stolen_time(struct kvm_vcpu *vcpu) steal_le = cpu_to_le64(steal); idx = srcu_read_lock(&kvm->srcu); offset = offsetof(struct pvclock_vcpu_stolen_time, stolen_time); - kvm_put_guest(kvm, base + offset, steal_le, u64); + kvm_put_guest(kvm, base + offset, steal_le); srcu_read_unlock(&kvm->srcu, idx); } |