Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/acpica/dist/namespace revert rev 1.5, which...



details:   https://anonhg.NetBSD.org/src/rev/6829463acca3
branches:  trunk
changeset: 336057:6829463acca3
user:      chs <chs%NetBSD.org@localhost>
date:      Mon Feb 09 03:16:33 2015 +0000

description:
revert rev 1.5, which brings back PR 48494.
that earlier revision itself reverted an upstream bugfix,
and that change fixed some systems but broke others
(in particular, it broke my HP Z800 workstation.)
this latest revision brings us back in sync with upstream.
the current upstream (and this latest flip-flop of our copy)
is clearly correct, since it zeros a buffer which is intended
to be used as scratch space for a single acpica operation.
agreed by christos and ryoon back in april 2014.

diffstat:

 sys/external/bsd/acpica/dist/namespace/nsinit.c |  3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diffs (14 lines):

diff -r d197a66335fa -r 6829463acca3 sys/external/bsd/acpica/dist/namespace/nsinit.c
--- a/sys/external/bsd/acpica/dist/namespace/nsinit.c   Sun Feb 08 23:43:14 2015 +0000
+++ b/sys/external/bsd/acpica/dist/namespace/nsinit.c   Mon Feb 09 03:16:33 2015 +0000
@@ -616,10 +616,7 @@
     ACPI_DEBUG_EXEC (AcpiUtDisplayInitPathname (
         ACPI_TYPE_METHOD, DeviceNode, METHOD_NAME__INI));
 
-#if 0
-    // https://bugs.acpica.org/show_bug.cgi?id=1016
     ACPI_MEMSET (Info, 0, sizeof (ACPI_EVALUATE_INFO));
-#endif
     Info->PrefixNode = DeviceNode;
     Info->RelativePathname = __UNCONST(METHOD_NAME__INI);
     Info->Parameters = NULL;



Home | Main Index | Thread Index | Old Index