ACPICA: Fix for some local named nodes not marked temporary and to disallow duplicates
authorBob Moore <robert.moore@intel.com>
Thu, 10 Apr 2008 15:06:44 +0000 (19:06 +0400)
committerLen Brown <len.brown@intel.com>
Wed, 23 Apr 2008 03:01:51 +0000 (23:01 -0400)
commitcca97b81564c5edbc8700ebb64fc2b4e13dfa51f
treecf997613fe23d04d05be41d727602016e0a1e350
parent66e2c0bcc5f6b8454d9091f6ba9ef4090abca4fd
ACPICA: Fix for some local named nodes not marked temporary and to disallow duplicates

Fixed a problem with the CreateField, CreateXXXField (Bit, Byte,
Word, Dword, Qword), Field, BankField, and IndexField operators
when invoked from inside an executing control method. In this case,
these operators created namespace nodes that were incorrectly
left marked as permanent nodes instead of temporary nodes. This
could cause a problem if there is race condition between an
exiting control method and a running namespace walk. (Reported
by Linn Crosetto). Fixed a problem where the CreateField and
CreateXXXField operators would incorrectly allow duplicate names
(the name of the field) with no exception generated.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/dispatcher/dsfield.c
drivers/acpi/dispatcher/dswload.c