diff options
author | Avi Kivity <avi@redhat.com> | 2009-08-10 10:00:52 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-09-10 03:46:42 -0400 |
commit | 6621fbc2c6add9c9abfc87d7bc9b248ffd307ae3 (patch) | |
tree | 470bd5fd45255b72f134e1f2d4bc471294608ec0 /virt/kvm | |
parent | 52c7847d121da3651c08d9e9a99eb8a7cf2faa7a (diff) |
KVM: Move #endif KVM_CAP_IRQ_ROUTING to correct place
The symbol only controls irq routing, not MSI-X.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt/kvm')
-rw-r--r-- | virt/kvm/kvm_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 4470251ddc53..1df4c0422f68 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -2236,6 +2236,7 @@ static long kvm_vm_ioctl(struct file *filp, | |||
2236 | vfree(entries); | 2236 | vfree(entries); |
2237 | break; | 2237 | break; |
2238 | } | 2238 | } |
2239 | #endif /* KVM_CAP_IRQ_ROUTING */ | ||
2239 | #ifdef __KVM_HAVE_MSIX | 2240 | #ifdef __KVM_HAVE_MSIX |
2240 | case KVM_ASSIGN_SET_MSIX_NR: { | 2241 | case KVM_ASSIGN_SET_MSIX_NR: { |
2241 | struct kvm_assigned_msix_nr entry_nr; | 2242 | struct kvm_assigned_msix_nr entry_nr; |
@@ -2258,7 +2259,6 @@ static long kvm_vm_ioctl(struct file *filp, | |||
2258 | break; | 2259 | break; |
2259 | } | 2260 | } |
2260 | #endif | 2261 | #endif |
2261 | #endif /* KVM_CAP_IRQ_ROUTING */ | ||
2262 | case KVM_IRQFD: { | 2262 | case KVM_IRQFD: { |
2263 | struct kvm_irqfd data; | 2263 | struct kvm_irqfd data; |
2264 | 2264 | ||