diff options
| -rw-r--r-- | arch/arm/include/asm/kvm_host.h | 2 | ||||
| -rw-r--r-- | arch/arm64/include/asm/kvm_host.h | 2 | ||||
| -rw-r--r-- | arch/arm64/kvm/reset.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/include/asm/kvm_host.h b/arch/arm/include/asm/kvm_host.h index 7feddacbc207..fe7754315e9c 100644 --- a/arch/arm/include/asm/kvm_host.h +++ b/arch/arm/include/asm/kvm_host.h | |||
| @@ -412,7 +412,7 @@ static inline int kvm_arm_setup_stage2(struct kvm *kvm, unsigned long type) | |||
| 412 | return 0; | 412 | return 0; |
| 413 | } | 413 | } |
| 414 | 414 | ||
| 415 | static inline int kvm_arm_vcpu_finalize(struct kvm_vcpu *vcpu, int what) | 415 | static inline int kvm_arm_vcpu_finalize(struct kvm_vcpu *vcpu, int feature) |
| 416 | { | 416 | { |
| 417 | return -EINVAL; | 417 | return -EINVAL; |
| 418 | } | 418 | } |
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h index 6adf08ba9277..7a096fdb333d 100644 --- a/arch/arm64/include/asm/kvm_host.h +++ b/arch/arm64/include/asm/kvm_host.h | |||
| @@ -627,7 +627,7 @@ void kvm_arch_free_vm(struct kvm *kvm); | |||
| 627 | 627 | ||
| 628 | int kvm_arm_setup_stage2(struct kvm *kvm, unsigned long type); | 628 | int kvm_arm_setup_stage2(struct kvm *kvm, unsigned long type); |
| 629 | 629 | ||
| 630 | int kvm_arm_vcpu_finalize(struct kvm_vcpu *vcpu, int what); | 630 | int kvm_arm_vcpu_finalize(struct kvm_vcpu *vcpu, int feature); |
| 631 | bool kvm_arm_vcpu_is_finalized(struct kvm_vcpu *vcpu); | 631 | bool kvm_arm_vcpu_is_finalized(struct kvm_vcpu *vcpu); |
| 632 | 632 | ||
| 633 | #define kvm_arm_vcpu_sve_finalized(vcpu) \ | 633 | #define kvm_arm_vcpu_sve_finalized(vcpu) \ |
diff --git a/arch/arm64/kvm/reset.c b/arch/arm64/kvm/reset.c index 8847f389f56d..3402543fdcd3 100644 --- a/arch/arm64/kvm/reset.c +++ b/arch/arm64/kvm/reset.c | |||
| @@ -186,9 +186,9 @@ static int kvm_vcpu_finalize_sve(struct kvm_vcpu *vcpu) | |||
| 186 | return 0; | 186 | return 0; |
| 187 | } | 187 | } |
| 188 | 188 | ||
| 189 | int kvm_arm_vcpu_finalize(struct kvm_vcpu *vcpu, int what) | 189 | int kvm_arm_vcpu_finalize(struct kvm_vcpu *vcpu, int feature) |
| 190 | { | 190 | { |
| 191 | switch (what) { | 191 | switch (feature) { |
| 192 | case KVM_ARM_VCPU_SVE: | 192 | case KVM_ARM_VCPU_SVE: |
| 193 | if (!vcpu_has_sve(vcpu)) | 193 | if (!vcpu_has_sve(vcpu)) |
| 194 | return -EINVAL; | 194 | return -EINVAL; |
