[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] stubs for populate on demand.



# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1231298376 -32400
# Node ID b8b66dc0fa1d39ca15f4e85430db7f2d3a7c304c
# Parent  8df294a89a362305b3349937aaed65d76b3b81da
[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@xxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/mm.c |   17 +++++++++++++++++
 1 files changed, 17 insertions(+)

diff -r 8df294a89a36 -r b8b66dc0fa1d xen/arch/ia64/xen/mm.c
--- a/xen/arch/ia64/xen/mm.c    Tue Jan 06 18:05:32 2009 +0900
+++ b/xen/arch/ia64/xen/mm.c    Wed Jan 07 12:19:36 2009 +0900
@@ -3468,6 +3468,23 @@ void xencomm_mark_dirty(unsigned long ad
     __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

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.