summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-09-08 21:18:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-09-08 21:18:16 +0000
commit4c2a70279d3f9cd387a68e2af5bef3a4ea2cf99e (patch)
treec0852a6dbf6f1596c8aa71131b6c7746e20ac4c0 /sys/arch/i386
parent0065009a25bcd9ebfdde5b4026eb95af737b6157 (diff)
No need for vfs_syncwait() in a bufq_quiesce() world
ok thib kettenis
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/apm.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/arch/i386/i386/apm.c b/sys/arch/i386/i386/apm.c
index f47b1f8789b..e34b223a086 100644
--- a/sys/arch/i386/i386/apm.c
+++ b/sys/arch/i386/i386/apm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apm.c,v 1.91 2010/09/06 15:42:18 deraadt Exp $ */
+/* $OpenBSD: apm.c,v 1.92 2010/09/08 21:18:15 deraadt Exp $ */
/*-
* Copyright (c) 1998-2001 Michael Shalayeff. All rights reserved.
@@ -50,7 +50,6 @@
#include <sys/ioctl.h>
#include <sys/buf.h>
#include <sys/event.h>
-#include <sys/mount.h> /* for vfs_syncwait() proto */
#include <machine/conf.h>
#include <machine/cpu.h>
@@ -332,9 +331,6 @@ apm_suspend()
disable_intr();
config_suspend(TAILQ_FIRST(&alldevs), DVACT_SUSPEND);
- if (cold)
- vfs_syncwait(0);
-
(void)apm_set_powstate(APM_DEV_ALLDEVS, APM_SYS_SUSPEND);
}
@@ -351,9 +347,6 @@ apm_standby()
disable_intr();
config_suspend(TAILQ_FIRST(&alldevs), DVACT_SUSPEND);
- if (cold)
- vfs_syncwait(0);
-
(void)apm_set_powstate(APM_DEV_ALLDEVS, APM_SYS_STANDBY);
}