patch-2.2.19 linux/kernel/fork.c
Next file: linux/kernel/sched.c
Previous file: linux/kernel/exit.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Mar 25 11:37:40 2001
- Orig file:
v2.2.18/kernel/fork.c
- Orig date:
Sun Mar 25 11:12:36 2001
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/kernel/fork.c linux/kernel/fork.c
@@ -665,6 +665,8 @@
p->lock_depth = -1; /* -1 = no lock */
p->start_time = jiffies;
+ INIT_LIST_HEAD(&p->local_pages);
+
retval = -ENOMEM;
/* copy all the process information */
if (copy_files(clone_flags, p))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)