Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2011 16:25:09 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r217057 - stable/8/sys/dev/acpica
Message-ID:  <201101061625.p06GP9EY021697@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Thu Jan  6 16:25:08 2011
New Revision: 217057
URL: http://svn.freebsd.org/changeset/base/217057

Log:
  MFC:	r216940
  
  Fix parameters for wakeup(9) and tsleep(9).

Modified:
  stable/8/sys/dev/acpica/acpi_ec.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/dev/acpica/acpi_ec.c
==============================================================================
--- stable/8/sys/dev/acpica/acpi_ec.c	Thu Jan  6 15:26:06 2011	(r217056)
+++ stable/8/sys/dev/acpica/acpi_ec.c	Thu Jan  6 16:25:08 2011	(r217057)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101061625.p06GP9EY021697>