direct-io.hg

changeset 2284:b7320c51e09a

bitkeeper revision 1.1159.1.82 (41239316kitpFpd84e2ER7pkpuSnvg)

Frontend fix.
author kaf24@scramble.cl.cam.ac.uk
date Wed Aug 18 17:34:14 2004 +0000 (2004-08-18)
parents 0871ff6c8784
children 6a83ce7a1b78
files linux-2.6.7-xen-sparse/drivers/xen/netfront/netfront.c
line diff
     1.1 --- a/linux-2.6.7-xen-sparse/drivers/xen/netfront/netfront.c	Wed Aug 18 17:09:00 2004 +0000
     1.2 +++ b/linux-2.6.7-xen-sparse/drivers/xen/netfront/netfront.c	Wed Aug 18 17:34:14 2004 +0000
     1.3 @@ -285,7 +285,8 @@ static void network_alloc_rx_buffers(str
     1.4      rx_mcl[nr_pfns].args[0] = MEMOP_decrease_reservation;
     1.5      rx_mcl[nr_pfns].args[1] = (unsigned long)rx_pfn_array;
     1.6      rx_mcl[nr_pfns].args[2] = (unsigned long)nr_pfns;
     1.7 -    rx_mcl[nr_pfns].args[3] = DOMID_SELF;
     1.8 +    rx_mcl[nr_pfns].args[3] = 0;
     1.9 +    rx_mcl[nr_pfns].args[4] = DOMID_SELF;
    1.10  
    1.11      /* Zap PTEs and give away pages in one big multicall. */
    1.12      (void)HYPERVISOR_multicall(rx_mcl, nr_pfns+1);