From patchwork Mon Feb 16 07:46:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Xiantao" X-Patchwork-Id: 7425 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n1G7kIZV001701 for ; Mon, 16 Feb 2009 07:46:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754070AbZBPHqP (ORCPT ); Mon, 16 Feb 2009 02:46:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754046AbZBPHqP (ORCPT ); Mon, 16 Feb 2009 02:46:15 -0500 Received: from mga02.intel.com ([134.134.136.20]:56170 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754020AbZBPHqO (ORCPT ); Mon, 16 Feb 2009 02:46:14 -0500 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 15 Feb 2009 23:41:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.38,215,1233561600"; d="scan'208,223";a="490298606" Received: from unknown (HELO azsmsx001.amr.corp.intel.com) ([10.2.167.98]) by orsmga001.jf.intel.com with ESMTP; 15 Feb 2009 23:45:53 -0800 Received: from pdsmsx602.ccr.corp.intel.com (172.16.12.184) by azsmsx001.amr.corp.intel.com (10.2.167.98) with Microsoft SMTP Server (TLS) id 8.1.311.2; Mon, 16 Feb 2009 00:46:06 -0700 Received: from pdsmsx503.ccr.corp.intel.com ([172.16.12.95]) by pdsmsx602.ccr.corp.intel.com ([172.16.12.184]) with mapi; Mon, 16 Feb 2009 15:46:05 +0800 From: "Zhang, Xiantao" To: Avi Kivity , "kvm-ia64@vger.kernel.org" CC: "Luck, Tony" , "kvm@vger.kernel.org" , "Zhang, Xiantao" Date: Mon, 16 Feb 2009 15:46:04 +0800 Subject: [PATCH 02/02] kvm: ia64: Fix the build errors due to lack of macros related to MSI. Thread-Topic: [PATCH 02/02] kvm: ia64: Fix the build errors due to lack of macros related to MSI. Thread-Index: AcmQCp7+kxnvdV+3RLKPZuQFBFpvng== Message-ID: <706158FABBBA044BAD4FE898A02E4BC2241A31DB@pdsmsx503.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org From fb2e7473e44b6b0bcc8448d4f74a4f8d43e7fa4c Mon Sep 17 00:00:00 2001 From: Xiantao Zhang Date: Mon, 16 Feb 2009 15:24:05 +0800 Subject: [PATCH] kvm: ia64: Fix the build errors due to lack of macros related to MSI. Include the newly introduced msidef.h to solve the build issues. Signed-off-by: Xiantao Zhang --- arch/ia64/kvm/irq.h | 2 ++ virt/kvm/irq_comm.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/ia64/kvm/irq.h b/arch/ia64/kvm/irq.h index c6786e8..c0785a7 100644 --- a/arch/ia64/kvm/irq.h +++ b/arch/ia64/kvm/irq.h @@ -23,6 +23,8 @@ #ifndef __IRQ_H #define __IRQ_H +#include "lapic.h" + static inline int irqchip_in_kernel(struct kvm *kvm) { return 1; diff --git a/virt/kvm/irq_comm.c b/virt/kvm/irq_comm.c index 6bc7439..a6433bd 100644 --- a/virt/kvm/irq_comm.c +++ b/virt/kvm/irq_comm.c @@ -21,9 +21,7 @@ #include -#ifdef CONFIG_X86 #include -#endif #include "irq.h"