aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Zhang <yang.z.zhang@Intel.com>2013-04-16 20:46:41 -0400
committerMarcelo Tosatti <mtosatti@redhat.com>2013-04-17 22:14:45 -0400
commite606264797d11d6488bc079fb95e38fb5bf5c60a (patch)
tree19d2995627a9155f9b4b46c3e204f633aac04a28
parent6ffbbbbab34ef84b89f8b9f50a5f0fed5795d79a (diff)
KVM: ia64: Fix kvm_vm_ioctl_irq_line
Fix the compile error with kvm_vm_ioctl_irq_line. Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
-rw-r--r--arch/ia64/kvm/kvm-ia64.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c
index 7a54455dde39..032c54d63c3d 100644
--- a/arch/ia64/kvm/kvm-ia64.c
+++ b/arch/ia64/kvm/kvm-ia64.c
@@ -924,13 +924,15 @@ int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
924 return 0; 924 return 0;
925} 925}
926 926
927int kvm_vm_ioctl_irq_line(struct kvm *kvm, struct kvm_irq_level *irq_event) 927int kvm_vm_ioctl_irq_line(struct kvm *kvm, struct kvm_irq_level *irq_event,
928 bool line_status)
928{ 929{
929 if (!irqchip_in_kernel(kvm)) 930 if (!irqchip_in_kernel(kvm))
930 return -ENXIO; 931 return -ENXIO;
931 932
932 irq_event->status = kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID, 933 irq_event->status = kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID,
933 irq_event->irq, irq_event->level); 934 irq_event->irq, irq_event->level,
935 line_status);
934 return 0; 936 return 0;
935} 937}
936 938