diff options
author | luoqi <luoqi@FreeBSD.org> | 1999-05-06 00:39:00 +0000 |
---|---|---|
committer | luoqi <luoqi@FreeBSD.org> | 1999-05-06 00:39:00 +0000 |
commit | 71f27dfa4f4916f3bcea7c8994742c14f98dff54 (patch) | |
tree | d1663d8b44d61e7eda72b664d4710fd5ca71004b | |
parent | ebf1194701fe811f18d715be53e32f13f7014be4 (diff) | |
download | FreeBSD-src-71f27dfa4f4916f3bcea7c8994742c14f98dff54.zip FreeBSD-src-71f27dfa4f4916f3bcea7c8994742c14f98dff54.tar.gz |
Do not set curproc until proc0 is fully initialized (in proc0_init()).
-rw-r--r-- | sys/amd64/amd64/machdep.c | 3 | ||||
-rw-r--r-- | sys/i386/i386/machdep.c | 3 | ||||
-rw-r--r-- | sys/pc98/i386/machdep.c | 3 | ||||
-rw-r--r-- | sys/pc98/pc98/machdep.c | 3 |
4 files changed, 4 insertions, 8 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index ac02b7a..151423f 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.331 1999/04/26 08:57:51 peter Exp $ + * $Id: machdep.c,v 1.332 1999/04/28 01:03:21 luoqi Exp $ */ #include "apm.h" @@ -1615,7 +1615,6 @@ init386(first) #ifdef VM86 proc0.p_addr->u_pcb.pcb_ext = 0; #endif - SET_CURPROC(&proc0); /* Sigh, relocate physical addresses left from bootstrap */ if (bootinfo.bi_modulep) { diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index ac02b7a..151423f 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.331 1999/04/26 08:57:51 peter Exp $ + * $Id: machdep.c,v 1.332 1999/04/28 01:03:21 luoqi Exp $ */ #include "apm.h" @@ -1615,7 +1615,6 @@ init386(first) #ifdef VM86 proc0.p_addr->u_pcb.pcb_ext = 0; #endif - SET_CURPROC(&proc0); /* Sigh, relocate physical addresses left from bootstrap */ if (bootinfo.bi_modulep) { diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 57bd140..759681e 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.113 1999/04/20 09:08:51 kato Exp $ + * $Id: machdep.c,v 1.114 1999/04/28 08:03:54 kato Exp $ */ #include "apm.h" @@ -1669,7 +1669,6 @@ init386(first) #ifdef VM86 proc0.p_addr->u_pcb.pcb_ext = 0; #endif - SET_CURPROC(&proc0); /* Sigh, relocate physical addresses left from bootstrap */ if (bootinfo.bi_modulep) { diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 57bd140..759681e 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.113 1999/04/20 09:08:51 kato Exp $ + * $Id: machdep.c,v 1.114 1999/04/28 08:03:54 kato Exp $ */ #include "apm.h" @@ -1669,7 +1669,6 @@ init386(first) #ifdef VM86 proc0.p_addr->u_pcb.pcb_ext = 0; #endif - SET_CURPROC(&proc0); /* Sigh, relocate physical addresses left from bootstrap */ if (bootinfo.bi_modulep) { |