aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kvm/psci.c
diff options
context:
space:
mode:
authorTiejun Chen <[email protected]>2015-05-04 02:48:49 +0000
committerMarc Zyngier <[email protected]>2015-06-17 08:46:28 +0000
commitea2c6d9745c6698d9f820bc230aa1a80d9e908ac (patch)
treefdfc6e325f32cd2277b06555d22dc2478402065d /arch/arm/kvm/psci.c
parentarm: KVM: force execution of HCPTR access on VM exit (diff)
downloadkernel-ea2c6d9745c6698d9f820bc230aa1a80d9e908ac.tar.gz
kernel-ea2c6d9745c6698d9f820bc230aa1a80d9e908ac.zip
kvm: remove one useless check extension
We already check KVM_CAP_IRQFD in generic once enable CONFIG_HAVE_KVM_IRQFD, kvm_vm_ioctl_check_extension_generic() | + switch (arg) { + ... + #ifdef CONFIG_HAVE_KVM_IRQFD + case KVM_CAP_IRQFD: + #endif + ... + return 1; + ... + } | + kvm_vm_ioctl_check_extension() So its not necessary to check this in arch again, and also fix one typo, s/emlation/emulation. Signed-off-by: Tiejun Chen <[email protected]> Acked-by: Paolo Bonzini <[email protected]> Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'arch/arm/kvm/psci.c')
0 files changed, 0 insertions, 0 deletions