diff options
author | Julien Grall <julien.grall@citrix.com> | 2015-08-07 18:34:38 +0200 |
---|---|---|
committer | Julien Grall <julien.grall@citrix.com> | 2015-09-08 19:03:52 +0200 |
commit | a76e3cc32d872acd5104278d21d2084da07c16a8 (patch) | |
tree | d4308ea075d8f6adbfc6206974dd851bd54074ea /drivers/video/fbdev/xen-fbfront.c | |
parent | xen: Use correctly the Xen memory terminologies (diff) | |
download | linux-a76e3cc32d872acd5104278d21d2084da07c16a8.tar.xz linux-a76e3cc32d872acd5104278d21d2084da07c16a8.zip |
xen/tmem: Use xen_page_to_gfn rather than pfn_to_gfn
All the caller of xen_tmem_{get,put}_page have a struct page * in hand
and call pfn_to_gfn for the only benefits of these 2 functions.
Rather than passing the pfn in parameter, pass directly the page and use
directly xen_page_to_gfn.
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/video/fbdev/xen-fbfront.c')
0 files changed, 0 insertions, 0 deletions