WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] compilation fix of c/s 17723:c684c

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] compilation fix of c/s 17723:c684cf331f94
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 02 Jun 2008 04:40:11 -0700
Delivery-date: Mon, 02 Jun 2008 04:40:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1212374102 -32400
# Node ID d2a239224cb23f5a7a8059e4167c50bd3abeb9df
# Parent  9c0a654157cbf18650183b91246529407c305ac9
[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 <yamahata@xxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/mm.c |   12 ++++++++++++
 1 files changed, 12 insertions(+)

diff -r 9c0a654157cb -r d2a239224cb2 xen/arch/ia64/xen/mm.c
--- a/xen/arch/ia64/xen/mm.c    Wed May 28 18:10:44 2008 +0900
+++ b/xen/arch/ia64/xen/mm.c    Mon Jun 02 11:35:02 2008 +0900
@@ -2935,6 +2935,18 @@ void xencomm_mark_dirty(unsigned long ad
     }
 }
 
+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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] compilation fix of c/s 17723:c684cf331f94, Xen patchbot-unstable <=