svn commit: r217059 - releng/8.2/sys/dev/acpica
Jung-uk Kim
jkim at FreeBSD.org
Thu Jan 6 18:00:34 UTC 2011
Author: jkim
Date: Thu Jan 6 18:00:34 2011
New Revision: 217059
URL: http://svn.freebsd.org/changeset/base/217059
Log:
MFC: r216940
Fix parameters for wakeup(9) and tsleep(9).
Approved by: re (kib)
Modified:
releng/8.2/sys/dev/acpica/acpi_ec.c
Directory Properties:
releng/8.2/sys/ (props changed)
releng/8.2/sys/amd64/include/xen/ (props changed)
releng/8.2/sys/cddl/contrib/opensolaris/ (props changed)
releng/8.2/sys/contrib/dev/acpica/ (props changed)
releng/8.2/sys/contrib/pf/ (props changed)
Modified: releng/8.2/sys/dev/acpica/acpi_ec.c
==============================================================================
--- releng/8.2/sys/dev/acpica/acpi_ec.c Thu Jan 6 17:28:31 2011 (r217058)
+++ releng/8.2/sys/dev/acpica/acpi_ec.c Thu Jan 6 18:00:34 2011 (r217059)
@@ -707,7 +707,7 @@ EcGpeHandler(void *Context)
* address and then data values.)
*/
atomic_add_int(&sc->ec_gencount, 1);
- wakeup(&sc);
+ wakeup(sc);
/*
* If the EC_SCI bit of the status register is set, queue a query handler.
@@ -858,7 +858,7 @@ EcWaitEvent(struct acpi_ec_softc *sc, EC
*/
for (i = 0; i < count; i++) {
if (gen_count == sc->ec_gencount)
- tsleep(&sc, 0, "ecgpe", slp_ival);
+ tsleep(sc, 0, "ecgpe", slp_ival);
/*
* Record new generation count. It's possible the GPE was
* just to notify us that a query is needed and we need to
More information about the svn-src-all
mailing list