patch-2.1.50 linux/kernel/fork.c

Next file: linux/kernel/ksyms.c
Previous file: linux/include/net/tcp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.49/linux/kernel/fork.c linux/kernel/fork.c
@@ -266,6 +266,7 @@
 		init_new_context(mm);
 		mm->count = 1;
 		mm->def_flags = 0;
+		mm->mmap_sem = MUTEX;
 
 		/* It has not run yet, so cannot be present in anyone's
 		 * cache or tlb.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov