]> git.baikalelectronics.ru Git - kernel.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>
Tue, 20 Dec 2011 22:07:27 +0000 (17:07 -0500)
commit26d948f8621202e186cea570b9209e3bb3b15893
tree52e6dfc37a288e7181503d3f6596ce569d725b89
parent43fa424be7bf216174feaf00d48a4256578181e1
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