From owner-cvs-src@FreeBSD.ORG Fri Aug 13 06:21:56 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D40716A4CF; Fri, 13 Aug 2004 06:21:53 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CE8843D39; Fri, 13 Aug 2004 06:21:53 +0000 (GMT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7D6LrLo070991; Fri, 13 Aug 2004 06:21:53 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7D6LriG070990; Fri, 13 Aug 2004 06:21:53 GMT (envelope-from njl) Message-Id: <200408130621.i7D6LriG070990@repoman.freebsd.org> From: Nate Lawson Date: Fri, 13 Aug 2004 06:21:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/acpica acpi_ec.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2004 06:21:56 -0000 njl 2004-08-13 06:21:53 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_ec.c Log: MPSAFE locking * Use the common serialization macros instead of rolling our own. * Increase the coverage of the lock in EcSpaceHandler() to cover the entire loop to avoid dropping the lock when reading more than one byte. Revision Changes Path 1.59 +19 -21 src/sys/dev/acpica/acpi_ec.c