patch-2.3.47 linux/mm/mremap.c
Next file: linux/mm/page_alloc.c
Previous file: linux/mm/memory.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Feb 20 20:25:19 2000
-  Orig file: 
v2.3.46/linux/mm/mremap.c
-  Orig date: 
Wed Feb 16 17:03:52 2000
diff -u --recursive --new-file v2.3.46/linux/mm/mremap.c linux/mm/mremap.c
@@ -275,7 +275,7 @@
 	ret = -ENOMEM;
 	if (flags & MREMAP_MAYMOVE) {
 		if (!(flags & MREMAP_FIXED)) {
-			new_addr = get_unmapped_area(addr, new_len);
+			new_addr = get_unmapped_area(0, new_len);
 			if (!new_addr)
 				goto out;
 		}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)