diff options
| author | Tor Egge <tegge@FreeBSD.org> | 1998-09-28 03:34:39 +0000 |
|---|---|---|
| committer | Tor Egge <tegge@FreeBSD.org> | 1998-09-28 03:34:39 +0000 |
| commit | a16edda365f510031db286b64ceba50e868034a4 (patch) | |
| tree | 309f11dd355eb48af411a7ebe5ec1000e54cf2b8 | |
| parent | 8fce521a54f8bdc80a25ca8fb0981025a248a5f9 (diff) | |
Notes
| -rw-r--r-- | sys/amd64/amd64/vm_machdep.c | 5 | ||||
| -rw-r--r-- | sys/i386/i386/vm_machdep.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index 8c0b2748cdb3..fb0e60114f31 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -38,7 +38,7 @@ * * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ - * $Id: vm_machdep.c,v 1.109 1998/08/18 07:46:58 msmith Exp $ + * $Id: vm_machdep.c,v 1.110 1998/09/25 17:34:48 peter Exp $ */ #include "npx.h" @@ -159,6 +159,9 @@ cpu_fork(p1, p2) * pcb2->pcb_onfault: cloned above (always NULL here?). */ +#ifdef SMP + pcb2->pcb_mpnest = 1; +#endif #ifdef VM86 /* * XXX don't copy the i/o pages. this should probably be fixed. diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c index 8c0b2748cdb3..fb0e60114f31 100644 --- a/sys/i386/i386/vm_machdep.c +++ b/sys/i386/i386/vm_machdep.c @@ -38,7 +38,7 @@ * * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ - * $Id: vm_machdep.c,v 1.109 1998/08/18 07:46:58 msmith Exp $ + * $Id: vm_machdep.c,v 1.110 1998/09/25 17:34:48 peter Exp $ */ #include "npx.h" @@ -159,6 +159,9 @@ cpu_fork(p1, p2) * pcb2->pcb_onfault: cloned above (always NULL here?). */ +#ifdef SMP + pcb2->pcb_mpnest = 1; +#endif #ifdef VM86 /* * XXX don't copy the i/o pages. this should probably be fixed. |
