aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/xen-blkback/common.h
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2011-09-29 11:53:30 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-10-26 10:02:35 -0400
commit2d073846b891c3f49c4ea03c5db3ac92f92742f1 (patch)
treec47dd9015bb072e1d31d1cefdfe9995d8a2388ef /drivers/block/xen-blkback/common.h
parent4dcaebbf6586d299be8513512a1253f177b803d7 (diff)
block: xen-blkback: use API provided by xenbus module to map rings
The xenbus module provides xenbus_map_ring_valloc() and xenbus_map_ring_vfree(). Use these to map the ring pages granted by the frontend. Acked-by: Jens Axboe <jaxboe@fusionio.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/block/xen-blkback/common.h')
-rw-r--r--drivers/block/xen-blkback/common.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/block/xen-blkback/common.h b/drivers/block/xen-blkback/common.h
index 00c57c90e2d6..7ec0e8896a78 100644
--- a/drivers/block/xen-blkback/common.h
+++ b/drivers/block/xen-blkback/common.h
@@ -139,7 +139,7 @@ struct xen_blkif {
139 /* Comms information. */ 139 /* Comms information. */
140 enum blkif_protocol blk_protocol; 140 enum blkif_protocol blk_protocol;
141 union blkif_back_rings blk_rings; 141 union blkif_back_rings blk_rings;
142 struct vm_struct *blk_ring_area; 142 void *blk_ring;
143 /* The VBD attached to this interface. */ 143 /* The VBD attached to this interface. */
144 struct xen_vbd vbd; 144 struct xen_vbd vbd;
145 /* Back pointer to the backend_info. */ 145 /* Back pointer to the backend_info. */
@@ -163,9 +163,6 @@ struct xen_blkif {
163 int st_wr_sect; 163 int st_wr_sect;
164 164
165 wait_queue_head_t waiting_to_free; 165 wait_queue_head_t waiting_to_free;
166
167 grant_handle_t shmem_handle;
168 grant_ref_t shmem_ref;
169}; 166};
170 167
171 168