aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xg_save_restore.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2010-10-18 17:17:25 +0100
committerIan Campbell <ian.campbell@citrix.com>2010-10-18 17:17:25 +0100
commitd5023b6b5f93888c9ce08279c64ceec3fa20495b (patch)
tree10cd513b99a0bb93ad99cb10ee1f21e4a4b63077 /tools/libxc/xg_save_restore.h
parent3a97052f4353921447d8f3e58614350db5c3d120 (diff)
downloadxen-d5023b6b5f93888c9ce08279c64ceec3fa20495b.tar.gz
xen-d5023b6b5f93888c9ce08279c64ceec3fa20495b.tar.bz2
xen-d5023b6b5f93888c9ce08279c64ceec3fa20495b.zip
libxc: add xc_maximum_ram_page to wrap XENMEM_maximum_ram_page
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xg_save_restore.h')
-rw-r--r--tools/libxc/xg_save_restore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xg_save_restore.h b/tools/libxc/xg_save_restore.h
index 0bc958344c..2c82ce7404 100644
--- a/tools/libxc/xg_save_restore.h
+++ b/tools/libxc/xg_save_restore.h
@@ -179,7 +179,7 @@ static inline int get_platform_info(xc_interface *xch, uint32_t dom,
if (xc_version(xch, XENVER_capabilities, &xen_caps) != 0)
return 0;
- *max_mfn = xc_memory_op(xch, XENMEM_maximum_ram_page, NULL);
+ *max_mfn = xc_maximum_ram_page(xch);
*hvirt_start = xen_params.virt_start;