From: Isaku Yamahata Date: Wed, 7 Jan 2009 03:19:36 +0000 (+0900) Subject: [IA64] stubs for populate on demand. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14020 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fc105802194bf08fa3393df8be36865da7b26676;p=xen.git [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 --- diff --git a/xen/arch/ia64/xen/mm.c b/xen/arch/ia64/xen/mm.c index 518d225c5a..4772749d1b 100644 --- a/xen/arch/ia64/xen/mm.c +++ b/xen/arch/ia64/xen/mm.c @@ -3468,6 +3468,23 @@ void xencomm_mark_dirty(unsigned long addr, unsigned int len) __xencomm_mark_dirty(current->domain, addr, len); } +/* stubs for populate on demand */ +int +guest_physmap_mark_populate_on_demand(struct domain *d, unsigned long gfn, + unsigned int order) +{ + gdprintk(XENLOG_WARNING, "populate on demand isn't supported yet\n"); + return -ENOSYS; +} + +int +p2m_pod_decrease_reservation(struct domain *d, xen_pfn_t gpfn, + unsigned int order) +{ + gdprintk(XENLOG_WARNING, "populate on demand isn't supported yet\n"); + return 1; +} + /* * Local variables: * mode: C