summaryrefslogtreecommitdiff
path: root/sys/arch/arm/xscale
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/arm/xscale
parent0065009a25bcd9ebfdde5b4026eb95af737b6157 (diff)
No need for vfs_syncwait() in a bufq_quiesce() world
ok thib kettenis
Diffstat (limited to 'sys/arch/arm/xscale')
-rw-r--r--sys/arch/arm/xscale/pxa2x0_apm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/arm/xscale/pxa2x0_apm.c b/sys/arch/arm/xscale/pxa2x0_apm.c
index d9a153c6452..e55558bdd3c 100644
--- a/sys/arch/arm/xscale/pxa2x0_apm.c
+++ b/sys/arch/arm/xscale/pxa2x0_apm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pxa2x0_apm.c,v 1.35 2010/09/07 16:21:35 deraadt Exp $ */
+/* $OpenBSD: pxa2x0_apm.c,v 1.36 2010/09/08 21:18:14 deraadt Exp $ */
/*-
* Copyright (c) 2001 Alexander Guy. All rights reserved.
@@ -40,7 +40,6 @@
#include <sys/kernel.h>
#include <sys/kthread.h>
#include <sys/rwlock.h>
-#include <sys/mount.h> /* for vfs_syncwait() */
#include <sys/proc.h>
#include <sys/buf.h>
#include <sys/device.h>
@@ -314,9 +313,6 @@ apm_suspend(struct pxa2x0_apm_softc *sc)
resettodr();
- if (cold)
- vfs_syncwait(0);
-
if (sc->sc_suspend == NULL)
pxa2x0_wakeup_config(PXA2X0_WAKEUP_ALL, 1);
else