diff options
-rw-r--r-- | drivers/net/xen-netback/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/xen-netback/common.h b/drivers/net/xen-netback/common.h index 8753e6ddff8..161f207786a 100644 --- a/drivers/net/xen-netback/common.h +++ b/drivers/net/xen-netback/common.h | |||
@@ -106,8 +106,8 @@ struct xenvif { | |||
106 | wait_queue_head_t waiting_to_free; | 106 | wait_queue_head_t waiting_to_free; |
107 | }; | 107 | }; |
108 | 108 | ||
109 | #define XEN_NETIF_TX_RING_SIZE __RING_SIZE((struct xen_netif_tx_sring *)0, PAGE_SIZE) | 109 | #define XEN_NETIF_TX_RING_SIZE __CONST_RING_SIZE(xen_netif_tx, PAGE_SIZE) |
110 | #define XEN_NETIF_RX_RING_SIZE __RING_SIZE((struct xen_netif_rx_sring *)0, PAGE_SIZE) | 110 | #define XEN_NETIF_RX_RING_SIZE __CONST_RING_SIZE(xen_netif_rx, PAGE_SIZE) |
111 | 111 | ||
112 | struct xenvif *xenvif_alloc(struct device *parent, | 112 | struct xenvif *xenvif_alloc(struct device *parent, |
113 | domid_t domid, | 113 | domid_t domid, |