From: Isaku Yamahata Date: Mon, 2 Jun 2008 02:35:02 +0000 (+0900) Subject: [IA64] compilation fix of c/s 17723:c684cf331f94 X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14208 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=18e7bd4797c9dfcc8aad2583ddd131381da5cfc2;p=xen.git [IA64] compilation fix of c/s 17723:c684cf331f94 This patch fixes the compilation error caused by the c/s 17723:c684cf331f94. Define stub functions which return -ENOSYS. ia64-linux-gnu-ld -g -T xen.lds.s -N \ -Map map.out linux-xen/head.o xen-unstable.hg/xen/common/built_in.o xen-unstable.hg/xen/drivers/built_in.o xen-unstable.hg/xen/xsm/built_in.o xen-unstable.hg/xen/arch/ia64/built_in.o \ xen-unstable.hg/xen/common/symbols-dummy.o -o xen-unstable.hg/xen/xen-syms xen-unstable.hg/xen/common/built_in.o: In function `__gnttab_unmap_common': xen-unstable.hg/xen/common/grant_table.c:566: undefined reference to `iommu_unmap_page' xen-unstable.hg/xen/common/built_in.o: In function `__gnttab_map_grant_ref': xen-unstable.hg/xen/common/grant_table.c:388: undefined reference to `iommu_map_page' Signed-off-by: Isaku Yamahata --- diff --git a/xen/arch/ia64/xen/mm.c b/xen/arch/ia64/xen/mm.c index 8634740f58..ceb4aa3cce 100644 --- a/xen/arch/ia64/xen/mm.c +++ b/xen/arch/ia64/xen/mm.c @@ -2935,6 +2935,18 @@ void xencomm_mark_dirty(unsigned long addr, unsigned int len) } } +int iommu_map_page(struct domain *d, unsigned long gfn, unsigned long mfn) +{ + /* STUB to compile */ + return -ENOSYS; +} + +int iommu_unmap_page(struct domain *d, unsigned long gfn) +{ + /* STUB to compile */ + return -ENOSYS; +} + /* * Local variables: * mode: C