xen gntdev: use gnttab_map_refs and gnttab_unmap_refs
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 10 Dec 2010 14:56:42 +0000 (14:56 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 11 Jan 2011 19:32:06 +0000 (14:32 -0500)
commita12b4eb34bb1ea16046c5b61e7a887e252cc1cce
tree75383facce24cc1f7f9ddab6becf76b24365d3ca
parent289b777eac19c811b474593b4d2fd14e46340c23
xen gntdev: use gnttab_map_refs and gnttab_unmap_refs

Use gnttab_map_refs and gnttab_unmap_refs to map and unmap the grant
ref, so that we can have a corresponding struct page.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/gntdev.c