From: "KUWAMURA Shin'ya" Subject: [PATCH] VT-d: Fix ia64 build for 20974:3b475d9ed6b5 Date: Thu, 25 Feb 2010 14:25:04 +0900 (JST) Message-ID: <20100225.142504.115952168.kuwa@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Thu_Feb_25_14_25_04_2010_189)--" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org ----Next_Part(Thu_Feb_25_14_25_04_2010_189)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, This patch fixes the following error on ia64: iommu.c: In function 'init_vtd_hw': iommu.c:1831: error: 'nr_ioapics' undeclared (first use in this function) Signed-off-by: KUWAMURA Shin'ya -- KUWAMURA Shin'ya ----Next_Part(Thu_Feb_25_14_25_04_2010_189)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fix-vtd-iommu.patch" # HG changeset patch # User KUWAMURA Shin'ya # Date 1267075264 -32400 # Node ID 10528973863d2bfd7a9c4bb551778d5ec77dc16e # Parent 3d8e819241b088376bcf3e55a4cc51eebdfdaf62 VT-d: Fix ia64 build for 20974:3b475d9ed6b5 This patch fixes the following error: iommu.c: In function 'init_vtd_hw': iommu.c:1831: error: 'nr_ioapics' undeclared (first use in this function) Signed-off-by: KUWAMURA Shin'ya diff -r 3d8e819241b0 -r 10528973863d xen/drivers/passthrough/vtd/iommu.c --- a/xen/drivers/passthrough/vtd/iommu.c Wed Feb 24 20:27:56 2010 +0000 +++ b/xen/drivers/passthrough/vtd/iommu.c Thu Feb 25 14:21:04 2010 +0900 @@ -37,6 +37,10 @@ #include "dmar.h" #include "extern.h" #include "vtd.h" + +#ifdef __ia64__ +#define nr_ioapics iosapic_get_nr_iosapics() +#endif int nr_iommus; static bool_t rwbf_quirk; ----Next_Part(Thu_Feb_25_14_25_04_2010_189)-- Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ----Next_Part(Thu_Feb_25_14_25_04_2010_189)----