ia64/xen-unstable

changeset 18958:b8b66dc0fa1d

[IA64] stubs for populate on demand.

add stub functions of populate on demand to compile.
This patch fixes the following compile error.

> xen/common/built_in.o: In function `populate_physmap':
> xen/common/memory.c:116: undefined reference to `guest_physmap_mark_populate_on_demand'
> xen/common/built_in.o: In function `decrease_reservation':
> xen/common/memory.c:205: undefined reference to `p2m_pod_decrease_reservation'

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Wed Jan 07 12:19:36 2009 +0900 (2009-01-07)
parents 8df294a89a36
children 661a839a481e
files xen/arch/ia64/xen/mm.c
line diff
     1.1 --- a/xen/arch/ia64/xen/mm.c	Tue Jan 06 18:05:32 2009 +0900
     1.2 +++ b/xen/arch/ia64/xen/mm.c	Wed Jan 07 12:19:36 2009 +0900
     1.3 @@ -3468,6 +3468,23 @@ void xencomm_mark_dirty(unsigned long ad
     1.4      __xencomm_mark_dirty(current->domain, addr, len);
     1.5  }
     1.6  
     1.7 +/* stubs for populate on demand */
     1.8 +int
     1.9 +guest_physmap_mark_populate_on_demand(struct domain *d, unsigned long gfn,
    1.10 +                                      unsigned int order)
    1.11 +{
    1.12 +    gdprintk(XENLOG_WARNING, "populate on demand isn't supported yet\n");
    1.13 +    return -ENOSYS;
    1.14 +}
    1.15 +
    1.16 +int
    1.17 +p2m_pod_decrease_reservation(struct domain *d, xen_pfn_t gpfn,
    1.18 +                             unsigned int order)
    1.19 +{
    1.20 +    gdprintk(XENLOG_WARNING, "populate on demand isn't supported yet\n");
    1.21 +    return 1;
    1.22 +}
    1.23 +
    1.24  /*
    1.25   * Local variables:
    1.26   * mode: C