From 41f14e555e358d9cdf112c5956c11fa73088fa2b Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 29 Aug 2010 02:02:27 +0000 Subject: put the bufq_restart() in the right place, so that a 2nd resume works. how did noone notice for so long? tsk, tsk, tsk. of course, I broke it. tested by jakemsr --- sys/arch/zaurus/dev/zaurus_apm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/arch/zaurus') diff --git a/sys/arch/zaurus/dev/zaurus_apm.c b/sys/arch/zaurus/dev/zaurus_apm.c index 422c53aba4a..af4dd49511a 100644 --- a/sys/arch/zaurus/dev/zaurus_apm.c +++ b/sys/arch/zaurus/dev/zaurus_apm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zaurus_apm.c,v 1.16 2010/07/20 12:23:02 deraadt Exp $ */ +/* $OpenBSD: zaurus_apm.c,v 1.17 2010/08/29 02:02:26 deraadt Exp $ */ /* * Copyright (c) 2005 Uwe Stuehler @@ -634,7 +634,6 @@ zapm_resume(struct pxa2x0_apm_softc *pxa_sc) #endif } - bufq_restart(); return (wakeup); } -- cgit v1.2.3