mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
fix build when not using grant tables for blkdev.
Signed-off-by: Steven Hand <steven@xensource.com>
This commit is contained in:
1 parent
68b45c11cd
commit
e060edc8d0
1 file changed
+2
-1
@@ -541,11 +541,12 @@ static void dispatch_rw_block_io(blkif_t *blkif, blkif_request_t *req)
|
||||
else
|
||||
remap_prot = _PAGE_PRESENT|_PAGE_DIRTY|_PAGE_ACCESSED;
|
||||
|
||||
|
||||
for ( i = 0; i < nseg; i++ )
|
||||
{
|
||||
MULTI_update_va_mapping_otherdomain(
|
||||
mcl+i, MMAP_VADDR(pending_idx, i),
|
||||
pfn_pte_ma(seg[i].buf >> PAGE_SHIFT, remap_prot),
|
||||
pfn_pte_ma(seg[i].buf >> PAGE_SHIFT, __pgprot(remap_prot)),
|
||||
0, blkif->domid);
|
||||
#ifdef CONFIG_XEN_BLKDEV_TAP_BE
|
||||
if ( blkif->is_blktap )
|
||||
|
||||