debuggers.hg
changeset 21026:d9db3684f292
VT-d: Fix ia64 build for 20974:3b475d9ed6b5
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 <kuwa@jp.fujitsu.com>
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 <kuwa@jp.fujitsu.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Thu Feb 25 11:54:19 2010 +0000 (2010-02-25) |
parents | 12a5ca59b175 |
children | f6d7b66fdb80 |
files | xen/drivers/passthrough/vtd/iommu.c |
line diff
1.1 --- a/xen/drivers/passthrough/vtd/iommu.c Thu Feb 25 11:52:23 2010 +0000 1.2 +++ b/xen/drivers/passthrough/vtd/iommu.c Thu Feb 25 11:54:19 2010 +0000 1.3 @@ -38,6 +38,10 @@ 1.4 #include "extern.h" 1.5 #include "vtd.h" 1.6 1.7 +#ifdef __ia64__ 1.8 +#define nr_ioapics iosapic_get_nr_iosapics() 1.9 +#endif 1.10 + 1.11 int nr_iommus; 1.12 static bool_t rwbf_quirk; 1.13