From: Julien Grall Date: Fri, 7 Aug 2015 16:34:38 +0000 (+0100) Subject: xen/tmem: Use xen_page_to_gfn rather than pfn_to_gfn X-Git-Tag: omap-for-v4.3/fixes-rc1~39^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a76e3cc32d872acd5104278d21d2084da07c16a8;p=pandora-kernel.git 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 Reviewed-by: Stefano Stabellini Signed-off-by: David Vrabel --- Reading git-diff-tree failed