ACPICA: Report error if method creates 2 objects with the same name
authorBob Moore <robert.moore@intel.com>
Fri, 2 Feb 2007 16:48:20 +0000 (19:48 +0300)
committerLen Brown <len.brown@intel.com>
Sat, 3 Feb 2007 02:14:25 +0000 (21:14 -0500)
commit13b572a35ed904ae1e162f8ee89ca7fd6992b44c
tree16cd017aa6e4808c0b880ef853b8e896c85b7834
parentea5d8ebcbb7ca3bcb35a2133805571295f3f06e8
ACPICA: Report error if method creates 2 objects with the same name

Fixed a regression where an error was no
longer emitted if a control method attempts to create 2
objects of the same name. This previously and now returns
AE_ALREADY_EXISTS. When this exception occurs, it invokes
the mechanism that will dynamically serialize the control
method to possible prevent future errors. (BZ 440)

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/dispatcher/dswload.c
drivers/acpi/parser/psparse.c