svn commit: r216940 - head/sys/dev/acpica
Jung-uk Kim
jkim at FreeBSD.org
Mon Jan 3 23:37:43 UTC 2011
Author: jkim
Date: Mon Jan 3 23:37:42 2011
New Revision: 216940
URL: http://svn.freebsd.org/changeset/base/216940
Log:
Fix parameters for wakeup(9) and tsleep(9).
MFC after: 3 days
Modified:
head/sys/dev/acpica/acpi_ec.c
Modified: head/sys/dev/acpica/acpi_ec.c
==============================================================================
--- head/sys/dev/acpica/acpi_ec.c Mon Jan 3 23:11:52 2011 (r216939)
+++ head/sys/dev/acpica/acpi_ec.c Mon Jan 3 23:37:42 2011 (r216940)
@@ -707,7 +707,7 @@ EcGpeHandler(ACPI_HANDLE GpeDevice, UINT
* 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.
@@ -863,7 +863,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-head
mailing list