Add xen_limit_pages_to_max_mfn() in keeping with x86.
On ia64 it seems that it just needs to be a wrapper
for xen_create_contiguous_region().
Signed-off-by: Simon Horman <horms@verge.net.au>
balloon_unlock(flags);
}
+int
+xen_limit_pages_to_max_mfn(struct page *pages, unsigned int order,
+ unsigned int address_bits)
+{
+ return xen_create_contiguous_region((unsigned long)page_address(pages),
+ order, address_bits);
+}
+
///////////////////////////////////////////////////////////////////////////
// grant table hack
__xen_destroy_contiguous_region(vstart, order);
}
+struct page;
+
+int xen_limit_pages_to_max_mfn(struct page *pages, unsigned int order,
+ unsigned int address_bits);
+
/* For drivers/xen/core/machine_reboot.c */
#define HAVE_XEN_POST_SUSPEND
void xen_post_suspend(int suspend_cancelled);