Date: Fri, 22 Oct 2010 18:06:48 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Lin Ming <ming.m.lin@intel.com> Cc: "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org>, "Moore, Robert" <robert.moore@intel.com> Subject: Re: MacBookPro 5,1 Message-ID: <201010221806.48632.hselasky@c2i.net> In-Reply-To: <1287724787.6530.3135.camel@minggr.sh.intel.com> References: <201010121209.06397.hselasky@c2i.net> <1287715164.6530.3112.camel@minggr.sh.intel.com> <1287724787.6530.3135.camel@minggr.sh.intel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 22 October 2010 07:19:47 Lin Ming wrote: > diff --git a/source/components/resources/rsxface.c > b/source/components/resources/rsxface.c index 2a019d1..17b88e2 100644 > --- a/source/components/resources/rsxface.c > +++ b/source/components/resources/rsxface.c > @@ -394,6 +394,7 @@ AcpiSetCurrentResources ( > { > ACPI_STATUS Status; > ACPI_NAMESPACE_NODE *Node; > + ACPI_RESOURCE *Res; > > > ACPI_FUNCTION_TRACE (AcpiSetCurrentResources); > @@ -416,6 +417,15 @@ AcpiSetCurrentResources ( > return_ACPI_STATUS (Status); > } > > + Res = (ACPI_RESOURCE *) InBuffer->Pointer; > + if (Res->Type == ACPI_RESOURCE_TYPE_EXTENDED_IRQ) > + { > + /* DEBUG: clear the string to see if it's the root cause */ > + > + Res->Data.ExtendedIrq.ResourceSource.StringPtr = NULL; > + Res->Data.ExtendedIrq.ResourceSource.StringLength = 0; > + } > + > Status = AcpiRsSetSrsMethodData (Node, InBuffer); > return_ACPI_STATUS (Status); > } Hi, After applying this patch I can confirm there are no more dirty free's. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010221806.48632.hselasky>