Date: Thu, 1 Jan 2004 20:36:32 -0800 (PST) From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 44660 for review Message-ID: <200401020436.i024aWjr051838@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=44660 Change 44660 by sam@sam_ebb on 2004/01/01 20:35:34 save battery fix for i600m Affected files ... .. //depot/projects/netperf+sockets/sys/contrib/dev/acpica/dsmthdat.c#4 edit Differences ... ==== //depot/projects/netperf+sockets/sys/contrib/dev/acpica/dsmthdat.c#4 (text+ko) ==== @@ -663,6 +663,7 @@ ACPI_NAMESPACE_NODE *Node; ACPI_OPERAND_OBJECT *CurrentObjDesc; ACPI_OPERAND_OBJECT *NewObjDesc; + UINT8 ObjType; ACPI_FUNCTION_TRACE ("DsStoreObjectToLocal"); @@ -697,7 +698,11 @@ * take a copy of the object before we store. */ NewObjDesc = ObjDesc; - if (ObjDesc->Common.ReferenceCount > 1) + ObjType = ACPI_GET_OBJECT_TYPE(ObjDesc); + if (ObjDesc->Common.ReferenceCount > 1 && + ObjType != ACPI_TYPE_BUFFER && + ObjType != ACPI_TYPE_PACKAGE && + ObjType != ACPI_TYPE_REGION) { Status = AcpiUtCopyIobjectToIobject (ObjDesc, &NewObjDesc, WalkState); if (ACPI_FAILURE (Status))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401020436.i024aWjr051838>