aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/xen-blkfront.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/xen-blkfront.c')
-rw-r--r--drivers/block/xen-blkfront.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
index ab735a605cf3..d773397575db 100644
--- a/drivers/block/xen-blkfront.c
+++ b/drivers/block/xen-blkfront.c
@@ -71,7 +71,7 @@ struct blk_shadow {
71 71
72static const struct block_device_operations xlvbd_block_fops; 72static const struct block_device_operations xlvbd_block_fops;
73 73
74#define BLK_RING_SIZE __RING_SIZE((struct blkif_sring *)0, PAGE_SIZE) 74#define BLK_RING_SIZE __CONST_RING_SIZE(blkif, PAGE_SIZE)
75 75
76/* 76/*
77 * We have one of these per vbd, whether ide, scsi or 'other'. They 77 * We have one of these per vbd, whether ide, scsi or 'other'. They