]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/privcmd: Further s/MFN/GFN/ clean-up
authorJulien Grall <julien.grall@citrix.com>
Fri, 7 Aug 2015 16:34:41 +0000 (17:34 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 5 Feb 2016 11:43:37 +0000 (03:43 -0800)
commita3b781d668177d721a113aaff4926cba3c259263
tree7c9630e21f1153d7b38d16d160628892b3cf5e3e
parentb14c5a2f45d45e786641d0a3f6ca6132107d6469
xen/privcmd: Further s/MFN/GFN/ clean-up

The privcmd code is mixing the usage of GFN and MFN within the same
functions which make the code difficult to understand when you only work
with auto-translated guests.

The privcmd driver is only dealing with GFN so replace all the mention
of MFN into GFN.

The ioctl structure used to map foreign change has been left unchanged
given that the userspace is using it. Nonetheless, add a comment to
explain the expected value within the "mfn" field.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit a13d7201d7deedcbb6ac6efa94a1a7d34d3d79ec)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
(cherry picked from commit 5151b6d83aa3d1894ba03ec15b84fe4d858a96bf)
arch/arm/xen/enlighten.c
arch/x86/xen/mmu.c
drivers/xen/privcmd.c
drivers/xen/xlate_mmu.c
include/uapi/xen/privcmd.h
include/xen/xen-ops.h