diff options
| author | Tiejun Chen <[email protected]> | 2015-05-04 02:48:49 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2015-06-17 08:46:28 +0000 |
| commit | ea2c6d9745c6698d9f820bc230aa1a80d9e908ac (patch) | |
| tree | fdfc6e325f32cd2277b06555d22dc2478402065d /arch/arm/kvm/psci.c | |
| parent | arm: KVM: force execution of HCPTR access on VM exit (diff) | |
| download | kernel-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
