Partially back-out the previous change. What was I thinking...
This commit is contained in:
parent
00058e57d8
commit
4bf2309112
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vm_machdep.c,v 1.33 2000/07/27 14:25:14 scw Exp $ */
|
||||
/* $NetBSD: vm_machdep.c,v 1.34 2000/09/09 19:51:36 scw Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
@ -96,6 +96,8 @@ cpu_fork(p1, p2, stack, stacksize, func, arg)
|
||||
extern void proc_trampoline __P((void));
|
||||
extern void savectx __P((struct pcb *));
|
||||
|
||||
p2->p_md.md_flags = p1->p_md.md_flags;
|
||||
|
||||
/* Copy pcb from proc p1 to p2. */
|
||||
if (p1 == curproc) {
|
||||
/* Sync the PCB before we copy it. */
|
||||
|
Loading…
Reference in New Issue
Block a user