]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/grant-table: Support mappings required by blkback
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Wed, 14 Dec 2011 20:12:11 +0000 (15:12 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 2 Feb 2012 19:17:08 +0000 (14:17 -0500)
commiteec5a789359dd5cd2f68f1bde5f336f0be68a659
tree9e9fb94ba525b0eba1ddef4754cfdef8184e0afa
parentdc96b3cac40761ed46586e71c7a7a877f7bb3cb0
xen/grant-table: Support mappings required by blkback

Add support for mappings without GNTMAP_contains_pte. This was not
supported because the unmap operation assumed that this flag was being
used; adding a parameter to the unmap operation to allow the PTE
clearing to be disabled is sufficient to make unmap capable of
supporting either mapping type.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
[v1: Fix cleanpatch warnings]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/gntdev.c
drivers/xen/grant-table.c
include/xen/grant_table.h