diff options
author | Julien Grall <julien.grall@citrix.com> | 2015-05-04 17:47:16 +0300 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-10-23 16:20:33 +0300 |
commit | 1084b1988d22dc165c9dbbc2b0e057f9248ac4db (patch) | |
tree | 3418ab965863bec947d8abbf56fb2af20f90f558 /drivers/xen/grant-table.c | |
parent | 5031612b5eaf15cb6471c6e936a515090810c8f1 (diff) | |
download | linux-1084b1988d22dc165c9dbbc2b0e057f9248ac4db.tar.xz |
xen: Add Xen specific page definition
The Xen hypercall interface is always using 4K page granularity on ARM
and x86 architecture.
With the incoming support of 64K page granularity for ARM64 guest, it
won't be possible to re-use the Linux page definition in Xen drivers.
Introduce Xen page definition helpers based on the Linux page
definition. They have exactly the same name but prefixed with
XEN_/xen_ prefix.
Also modify xen_page_to_gfn to use new Xen page definition.
Signed-off-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/xen/grant-table.c')
0 files changed, 0 insertions, 0 deletions