patch-2.1.80 linux/fs/proc/openpromfs.c
Next file: linux/fs/proc/root.c
Previous file: linux/fs/proc/array.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Fri Jan 16 20:37:34 1998
-  Orig file: 
v2.1.79/linux/fs/proc/openpromfs.c
-  Orig date: 
Sun Sep  7 13:10:43 1997
diff -u --recursive --new-file v2.1.79/linux/fs/proc/openpromfs.c linux/fs/proc/openpromfs.c
@@ -901,7 +901,7 @@
 	unsigned long pages;
 
 	if ((1 << alloced) * PAGE_SIZE < (n + 2) * sizeof(openpromfs_node)) {
-		pages = __get_free_pages (GFP_KERNEL, alloced + 1, 0);
+		pages = __get_free_pages (GFP_KERNEL, alloced + 1);
 		if (!pages)
 			return -1;
 
@@ -1048,7 +1048,7 @@
 	if (!romvec->pv_romvers)
 		return RET(ENODEV);
 #endif
-	nodes = (openpromfs_node *)__get_free_pages(GFP_KERNEL, 0, 0);
+	nodes = (openpromfs_node *)__get_free_pages(GFP_KERNEL, 0);
 	if (!nodes) {
 		printk (KERN_WARNING "/proc/openprom: can't get free page\n");
 		return RET(EIO);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov