diff options
author | Lin Ming <ming.m.lin@intel.com> | 2008-04-10 11:06:42 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-22 14:29:30 -0400 |
commit | bc7a36ab74e09da7bb63e2477b0740ac992b290e (patch) | |
tree | f9384f3f0909e1da6f12fb55643de8de594551dd /drivers/acpi/utilities | |
parent | a6f4a4511e65942b93ded60d746094ec0e58ed8e (diff) |
ACPICA: Fixes for Unload and DDBHandles
Implemented support for the use of DDBHandles as an Indexed
Reference, as per the ACPI spec.
http://www.acpica.org/bugzilla/show_bug.cgi?id=486.
Implemented support for UserTerm (Method invocation) for the Unload operator
as per the ACPI spec.
http://www.acpica.org/bugzilla/show_bug.cgi?id=580
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>
Diffstat (limited to 'drivers/acpi/utilities')
-rw-r--r-- | drivers/acpi/utilities/utcopy.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/acpi/utilities/utcopy.c b/drivers/acpi/utilities/utcopy.c index b56953d2b59e..ba899714733b 100644 --- a/drivers/acpi/utilities/utcopy.c +++ b/drivers/acpi/utilities/utcopy.c | |||
@@ -709,7 +709,15 @@ acpi_ut_copy_simple_object(union acpi_operand_object *source_desc, | |||
709 | /* | 709 | /* |
710 | * We copied the reference object, so we now must add a reference | 710 | * We copied the reference object, so we now must add a reference |
711 | * to the object pointed to by the reference | 711 | * to the object pointed to by the reference |
712 | * | ||
713 | * DDBHandle reference (from Load/load_table is a special reference, | ||
714 | * it's Reference.Object is the table index, so does not need to | ||
715 | * increase the reference count | ||
712 | */ | 716 | */ |
717 | if (source_desc->reference.opcode == AML_LOAD_OP) { | ||
718 | break; | ||
719 | } | ||
720 | |||
713 | acpi_ut_add_reference(source_desc->reference.object); | 721 | acpi_ut_add_reference(source_desc->reference.object); |
714 | break; | 722 | break; |
715 | 723 | ||