From owner-svn-src-all@FreeBSD.ORG Thu Jan 6 16:25:09 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4323C1065670; Thu, 6 Jan 2011 16:25:09 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 315FB8FC12; Thu, 6 Jan 2011 16:25:09 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p06GP922021699; Thu, 6 Jan 2011 16:25:09 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p06GP9EY021697; Thu, 6 Jan 2011 16:25:09 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201101061625.p06GP9EY021697@svn.freebsd.org> From: Jung-uk Kim Date: Thu, 6 Jan 2011 16:25:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r217057 - stable/8/sys/dev/acpica X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2011 16:25:09 -0000 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