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
- Lines: 8
- Date:
Tue Aug 12 14:24:41 1997
- Orig file:
v2.1.49/linux/kernel/fork.c
- Orig date:
Thu Jul 17 10:06:09 1997
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