diff options
-rw-r--r-- | sys/i386/apm/apm.c | 5 | ||||
-rw-r--r-- | sys/i386/bios/apm.c | 5 |
2 files changed, 2 insertions, 8 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; diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c index d0e5a46..a0f6bdf 100644 --- a/sys/i386/bios/apm.c +++ b/sys/i386/bios/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; |