From owner-cvs-all@FreeBSD.ORG Sun Jan 11 23:04:11 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 806C516A4CE; Sun, 11 Jan 2004 23:04:11 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5DC543D2F; Sun, 11 Jan 2004 23:04:10 -0800 (PST) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0C74A0B057167; Sun, 11 Jan 2004 23:04:10 -0800 (PST) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0C74Av1057166; Sun, 11 Jan 2004 23:04:10 -0800 (PST) (envelope-from njl) Message-Id: <200401120704.i0C74Av1057166@repoman.freebsd.org> From: Nate Lawson Date: Sun, 11 Jan 2004 23:04:10 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/contrib/dev/acpica exstore.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2004 07:04:11 -0000 njl 2004/01/11 23:04:10 PST FreeBSD src repository Modified files: sys/contrib/dev/acpica exstore.c Log: When creating a package element via "Store(0xXXX, Index(ArgX, 0xXXX))", be sure to increment the refcount of the argument so it is not prematurely deleted. This is a workaround and may appear in a different form in ACPI-CA. This fixes battery evaluation on Thinkpads that was broken by fixing the Dell battery state. Submitted by: Luming Yu Revision Changes Path 1.2 +348 -280 src/sys/contrib/dev/acpica/exstore.c