diff options
author | Dongjiu Geng <gengdongjiu@huawei.com> | 2018-10-12 19:12:48 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-10-18 12:12:53 +0300 |
commit | 375bdd3b5d4f7cf146f0df1488b4671b141dd799 (patch) | |
tree | 7d4d35e12333b2d6eb449708c27557d8b8a3ad3a /arch/arm64/include/asm/kvm_host.h | |
parent | da5a3ce66b8bb51b0ea8a89f42aac153903f90fb (diff) | |
download | linux-375bdd3b5d4f7cf146f0df1488b4671b141dd799.tar.xz |
arm/arm64: KVM: Rename function kvm_arch_dev_ioctl_check_extension()
Rename kvm_arch_dev_ioctl_check_extension() to
kvm_arch_vm_ioctl_check_extension(), because it does
not have any relationship with device.
Renaming this function can make code readable.
Cc: James Morse <james.morse@arm.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/kvm_host.h')
-rw-r--r-- | arch/arm64/include/asm/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h index 376a5b695467..f84052f306af 100644 --- a/arch/arm64/include/asm/kvm_host.h +++ b/arch/arm64/include/asm/kvm_host.h @@ -53,7 +53,7 @@ DECLARE_STATIC_KEY_FALSE(userspace_irqchip_in_use); int __attribute_const__ kvm_target_cpu(void); int kvm_reset_vcpu(struct kvm_vcpu *vcpu); -int kvm_arch_dev_ioctl_check_extension(struct kvm *kvm, long ext); +int kvm_arch_vm_ioctl_check_extension(struct kvm *kvm, long ext); void __extended_idmap_trampoline(phys_addr_t boot_pgd, phys_addr_t idmap_start); struct kvm_arch { |