diff options
author | phk <phk@FreeBSD.org> | 1994-11-07 04:23:58 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1994-11-07 04:23:58 +0000 |
commit | 0df9927a2011abe1cb64247190dda69b8fee3b63 (patch) | |
tree | ba57f95bb321642abf4c231af4f2c03c94877d09 /sys/i386/apm/apm.c | |
parent | 5f6647840143c772181884a1aabb18ec92c35155 (diff) | |
download | FreeBSD-src-0df9927a2011abe1cb64247190dda69b8fee3b63.zip FreeBSD-src-0df9927a2011abe1cb64247190dda69b8fee3b63.tar.gz |
Calling sync will panic you more often than not.
Diffstat (limited to 'sys/i386/apm/apm.c')
-rw-r--r-- | sys/i386/apm/apm.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/i386/apm/apm.c b/sys/i386/apm/apm.c index d0e5a46..a0f6bdf 100644 --- a/sys/i386/apm/apm.c +++ b/sys/i386/apm/apm.c @@ -13,7 +13,7 @@ * * Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD) * - * $Id: apm.c,v 1.4 1994/10/02 01:45:41 phk Exp $ + * $Id: apm.c,v 1.5 1994/10/02 17:40:38 phk Exp $ */ #include "apm.h" @@ -230,9 +230,6 @@ static int apm_default_suspend(void) { int pl; - pl = splhigh(); - sync(curproc, NULL, NULL); - splx(pl); microtime(&suspend_time); apm_suspend_system(); return 0; |