From patchwork Wed Apr 17 00:46:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Yang Z" X-Patchwork-Id: 2452021 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 9FC993FD8C for ; Wed, 17 Apr 2013 00:51:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754868Ab3DQAve (ORCPT ); Tue, 16 Apr 2013 20:51:34 -0400 Received: from mga14.intel.com ([143.182.124.37]:63342 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754273Ab3DQAvd (ORCPT ); Tue, 16 Apr 2013 20:51:33 -0400 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 16 Apr 2013 17:51:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,488,1363158000"; d="scan'208";a="287178867" Received: from yang-desktop.sh.intel.com ([10.239.47.153]) by azsmga001.ch.intel.com with ESMTP; 16 Apr 2013 17:51:12 -0700 From: Yang Zhang To: kvm@vger.kernel.org Cc: gleb@redhat.com, mtosatti@redhat.com, Yang Zhang Subject: [PATCH] KVM: ia64: Fix kvm_vm_ioctl_irq_line Date: Wed, 17 Apr 2013 08:46:41 +0800 Message-Id: <1366159601-2038-1-git-send-email-yang.z.zhang@intel.com> X-Mailer: git-send-email 1.7.1.1 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org From: Yang Zhang Fix the compliling error with kvm_vm_ioctl_irq_line. Signed-off-by: Yang Zhang --- arch/ia64/kvm/kvm-ia64.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c index 7a54455..032c54d 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) return 0; } -int kvm_vm_ioctl_irq_line(struct kvm *kvm, struct kvm_irq_level *irq_event) +int kvm_vm_ioctl_irq_line(struct kvm *kvm, struct kvm_irq_level *irq_event, + bool line_status) { if (!irqchip_in_kernel(kvm)) return -ENXIO; irq_event->status = kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID, - irq_event->irq, irq_event->level); + irq_event->irq, irq_event->level, + line_status); return 0; }