ia64/xen-unstable
changeset 2317:0d0b3847e406
bitkeeper revision 1.1159.45.9 (4125f884a9pA8Y6eCghcU-ZKeJwDpQ)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xeno
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xeno
author | kaf24@scramble.cl.cam.ac.uk |
---|---|
date | Fri Aug 20 13:11:32 2004 +0000 (2004-08-20) |
parents | daaae24db2d1 a09ad598bd40 |
children | 959e38e07474 813ffecef534 |
files | linux-2.6.7-xen-sparse/drivers/xen/netback/netback.c |
line diff
1.1 --- a/linux-2.6.7-xen-sparse/drivers/xen/netback/netback.c Fri Aug 20 09:01:10 2004 +0000 1.2 +++ b/linux-2.6.7-xen-sparse/drivers/xen/netback/netback.c Fri Aug 20 13:11:32 2004 +0000 1.3 @@ -748,6 +748,7 @@ static int __init netback_init(void) 1.4 for ( i = 0; i < MAX_PENDING_REQS; i++ ) 1.5 { 1.6 page = virt_to_page(MMAP_VADDR(i)); 1.7 + set_page_count(page, 1); 1.8 SetPageForeign(page); 1.9 PageForeignDestructor(page) = netif_page_release; 1.10 }