aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-01-29 12:10:45 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2014-01-29 12:10:45 -0500
commit5f66b62095d028b70a322df15e8f9ffcdbcb474c (patch)
tree6f7e977d85a7414cc2bb61d770a845002c4ea550 /arch/x86/kvm/x86.c
parent58cb628dbe24ce21b884729aebe15acb903dbfb5 (diff)
kvm: x86: move KVM_CAP_HYPERV_TIME outside #ifdef
Self explanatory. Reported-by: Radim Krcmar <rkrcmar@redhat.com> Cc: Vadim Rozenfeld <vrozenfe@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 34d0d610aa8a..39c28f09dfd5 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -2616,10 +2616,10 @@ int kvm_dev_ioctl_check_extension(long ext)
2616 case KVM_CAP_GET_TSC_KHZ: 2616 case KVM_CAP_GET_TSC_KHZ:
2617 case KVM_CAP_KVMCLOCK_CTRL: 2617 case KVM_CAP_KVMCLOCK_CTRL:
2618 case KVM_CAP_READONLY_MEM: 2618 case KVM_CAP_READONLY_MEM:
2619 case KVM_CAP_HYPERV_TIME:
2619#ifdef CONFIG_KVM_DEVICE_ASSIGNMENT 2620#ifdef CONFIG_KVM_DEVICE_ASSIGNMENT
2620 case KVM_CAP_ASSIGN_DEV_IRQ: 2621 case KVM_CAP_ASSIGN_DEV_IRQ:
2621 case KVM_CAP_PCI_2_3: 2622 case KVM_CAP_PCI_2_3:
2622 case KVM_CAP_HYPERV_TIME:
2623#endif 2623#endif
2624 r = 1; 2624 r = 1;
2625 break; 2625 break;