]> 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)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 30 Nov 2015 19:50:47 +0000 (14:50 -0500)
commit52f74fbffbfef786ea92919b6b1a513c306cab03
tree502b799f8515c94fa1655948fcabc929bf3e19e4
parent6204706f72cda17a32c1d0d45576ee2c4367df2c
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>
drivers/tty/hvc/hvc_xen.c