]> 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)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 30 Nov 2015 19:50:50 +0000 (14:50 -0500)
commit5151b6d83aa3d1894ba03ec15b84fe4d858a96bf
tree063c49a211f92b3b287baa7d7ddf565cb1859940
parent52f74fbffbfef786ea92919b6b1a513c306cab03
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>
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