ia64/xen-unstable

changeset 17701:d2a239224cb2

[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@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jun 02 11:35:02 2008 +0900 (2008-06-02)
parents 9c0a654157cb
children f1508348ffab
files xen/arch/ia64/xen/mm.c
line diff
     1.1 --- a/xen/arch/ia64/xen/mm.c	Wed May 28 18:10:44 2008 +0900
     1.2 +++ b/xen/arch/ia64/xen/mm.c	Mon Jun 02 11:35:02 2008 +0900
     1.3 @@ -2935,6 +2935,18 @@ void xencomm_mark_dirty(unsigned long ad
     1.4      }
     1.5  }
     1.6  
     1.7 +int iommu_map_page(struct domain *d, unsigned long gfn, unsigned long mfn)
     1.8 +{
     1.9 +    /* STUB to compile */
    1.10 +    return -ENOSYS;
    1.11 +}
    1.12 +
    1.13 +int iommu_unmap_page(struct domain *d, unsigned long gfn)
    1.14 +{
    1.15 +    /* STUB to compile */
    1.16 +    return -ENOSYS;
    1.17 +}
    1.18 +
    1.19  /*
    1.20   * Local variables:
    1.21   * mode: C