ia64/xen-unstable

changeset 6355:6078dc5f7ea1

Update for grant table interface changes.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Mon Aug 22 20:57:26 2005 +0000 (2005-08-22)
parents 1d86fcb11b59
children 827a3c3524b3
files linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c	Mon Aug 22 20:52:38 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c	Mon Aug 22 20:57:26 2005 +0000
     1.3 @@ -1457,10 +1457,10 @@ static int __init netif_init(void)
     1.4  static void netif_exit(void)
     1.5  {
     1.6  #ifdef CONFIG_XEN_NETDEV_GRANT_TX
     1.7 -    gnttab_free_grant_references(NETIF_TX_RING_SIZE + 1, gref_tx_head);
     1.8 +    gnttab_free_grant_references(gref_tx_head, gref_tx_terminal);
     1.9  #endif
    1.10  #ifdef CONFIG_XEN_NETDEV_GRANT_RX
    1.11 -    gnttab_free_grant_references(NETIF_RX_RING_SIZE + 1, gref_rx_head);
    1.12 +    gnttab_free_grant_references(gref_rx_head, gref_rx_terminal);
    1.13  #endif
    1.14  }
    1.15