patch-2.3.49 linux/mm/mmap.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:
Thu Mar  2 10:18:50 2000
-  Orig file: 
v2.3.48/linux/mm/mmap.c
-  Orig date: 
Wed Feb 16 17:03:52 2000
diff -u --recursive --new-file v2.3.48/linux/mm/mmap.c linux/mm/mmap.c
@@ -860,7 +860,7 @@
 	if (mm->map_count)
 		printk("exit_mmap: map count is %d\n", mm->map_count);
 
-	clear_page_tables(mm, 0, USER_PTRS_PER_PGD);
+	clear_page_tables(mm, FIRST_USER_PGD_NR, USER_PTRS_PER_PGD);
 }
 
 /* Insert vm structure into process list sorted by address
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)