diff options
author | dg <dg@FreeBSD.org> | 1995-02-15 12:27:01 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-02-15 12:27:01 +0000 |
commit | f0a47184251a54d3b346d5a484c554d443451f53 (patch) | |
tree | dfcd44304311fca2357e9ed10cf2d0278094dc01 /sys | |
parent | 9dda561de86e6f9d493b072b717f5eb4ec2362cc (diff) | |
download | FreeBSD-src-f0a47184251a54d3b346d5a484c554d443451f53.zip FreeBSD-src-f0a47184251a54d3b346d5a484c554d443451f53.tar.gz |
Use proc0's proc struct rather than curproc's when calling sync.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/machdep.c | 4 | ||||
-rw-r--r-- | sys/i386/i386/machdep.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 3e07341..93a1223 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.109 1995/02/12 09:21:04 davidg Exp $ + * $Id: machdep.c,v 1.110 1995/02/14 19:20:26 sos Exp $ */ #include "npx.h" @@ -731,7 +731,7 @@ boot(arghowto) */ if (panicstr == 0) vnode_pager_umount(NULL); - sync(curproc, NULL, NULL); + sync(&proc0, NULL, NULL); for (iter = 0; iter < 20; iter++) { nbusy = 0; diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 3e07341..93a1223 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.109 1995/02/12 09:21:04 davidg Exp $ + * $Id: machdep.c,v 1.110 1995/02/14 19:20:26 sos Exp $ */ #include "npx.h" @@ -731,7 +731,7 @@ boot(arghowto) */ if (panicstr == 0) vnode_pager_umount(NULL); - sync(curproc, NULL, NULL); + sync(&proc0, NULL, NULL); for (iter = 0; iter < 20; iter++) { nbusy = 0; |