Skip to content

Commit

Permalink
KVM: Move #endif KVM_CAP_IRQ_ROUTING to correct place
Browse files Browse the repository at this point in the history
The symbol only controls irq routing, not MSI-X.

Signed-off-by: Avi Kivity <[email protected]>
  • Loading branch information
avikivity committed Sep 10, 2009
1 parent 52c7847 commit 6621fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virt/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2236,6 +2236,7 @@ static long kvm_vm_ioctl(struct file *filp,
vfree(entries);
break;
}
#endif /* KVM_CAP_IRQ_ROUTING */
#ifdef __KVM_HAVE_MSIX
case KVM_ASSIGN_SET_MSIX_NR: {
struct kvm_assigned_msix_nr entry_nr;
Expand All @@ -2258,7 +2259,6 @@ static long kvm_vm_ioctl(struct file *filp,
break;
}
#endif
#endif /* KVM_CAP_IRQ_ROUTING */
case KVM_IRQFD: {
struct kvm_irqfd data;

Expand Down

0 comments on commit 6621fbc

Please sign in to comment.