git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0df4f26
)
xen/tmem: Use xen_page_to_gfn rather than pfn_to_gfn
author
Julien Grall
<julien.grall@citrix.com>
Fri, 7 Aug 2015 16:34:38 +0000
(17:34 +0100)
committer
Julien Grall
<julien.grall@citrix.com>
Tue, 8 Sep 2015 17:03:52 +0000
(18:03 +0100)
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>
drivers/xen/tmem.c
patch
|
blob
|
history
diff --cc
drivers/xen/tmem.c
Simple merge