diff options
author | Shannon Zhao <shannon.zhao@linaro.org> | 2016-04-07 20:03:19 +0800 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2016-07-06 10:34:42 +0100 |
commit | 243848fc018cb98c2a70c39fe1f93eb266c79835 (patch) | |
tree | c56b6a9be9fe3502cebbef3aea3c4b3425b76aba /include/xen | |
parent | a4e081b0dd16780d960b1ef86985de40a6729fb5 (diff) | |
download | linux-243848fc018cb98c2a70c39fe1f93eb266c79835.tar.bz2 |
xen/grant-table: Move xlated_setup_gnttab_pages to common place
Move xlated_setup_gnttab_pages to common place, so it can be reused by
ARM to setup grant table.
Rename it to xen_xlate_map_ballooned_pages.
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Tested-by: Julien Grall <julien.grall@arm.com>
Diffstat (limited to 'include/xen')
-rw-r--r-- | include/xen/xen-ops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h index 86abe07b20ec..072be1c29917 100644 --- a/include/xen/xen-ops.h +++ b/include/xen/xen-ops.h @@ -85,6 +85,8 @@ int xen_xlate_remap_gfn_array(struct vm_area_struct *vma, struct page **pages); int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma, int nr, struct page **pages); +int xen_xlate_map_ballooned_pages(xen_pfn_t **pfns, void **vaddr, + unsigned long nr_grant_frames); bool xen_running_on_version_or_later(unsigned int major, unsigned int minor); |