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

HVM_PARAM_CONSOLE_PFN is used to retrieved the console PFN for HVM
guest. It returns a PFN (aka GFN) and not a MFN.

Furthermore, use directly virt_to_gfn for both PV and HVM domain rather
than doing a special case for each of the them.

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 859e3267c515d0cc7cc11528e80a2b7f3edc3bd9)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
(cherry picked from commit 52f74fbffbfef786ea92919b6b1a513c306cab03)
drivers/tty/hvc/hvc_xen.c