patch-2.3.1 linux/mm/page_alloc.c
Next file: linux/mm/page_io.c
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index
-  Lines: 8
 -  Date:
Tue May 11 14:37:40 1999
 -  Orig file: 
v2.3.0/linux/mm/page_alloc.c
 -  Orig date: 
Thu May  6 14:32:06 1999
 
diff -u --recursive --new-file v2.3.0/linux/mm/page_alloc.c linux/mm/page_alloc.c
@@ -323,6 +323,7 @@
 		--p;
 		atomic_set(&p->count, 0);
 		p->flags = (1 << PG_DMA) | (1 << PG_reserved);
+		init_waitqueue_head(&p->wait);
 	} while (p > mem_map);
 
 	for (i = 0 ; i < NR_MEM_LISTS ; i++) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)