summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/acnamesp.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-07-24 05:03:09 +0200
committerLen Brown <len.brown@intel.com>2009-08-29 01:40:38 +0200
commite5f69d6ef7a6b0dbad8d4c00d83009960be02155 (patch)
treefac155941c084b22c566b4931c67ab098a1488ee /drivers/acpi/acpica/acnamesp.h
parentACPICA: Move predefined repair code to new file, no functional change (diff)
downloadlinux-e5f69d6ef7a6b0dbad8d4c00d83009960be02155.tar.xz
linux-e5f69d6ef7a6b0dbad8d4c00d83009960be02155.zip
ACPICA: Add repair for predefined methods that return nested packages
Fixes a problem where a predefined method is defined to return a variable-length Package of sub-packages. If the length is one, the BIOS code occasionally creates a simple single package with no sub-packages. This code attempts to fix the problem by wrapping a new package object around the existing package. ACPICA BZ 790. http://acpica.org/bugzilla/show_bug.cgi?id=790 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acnamesp.h')
-rw-r--r--drivers/acpi/acpica/acnamesp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acnamesp.h b/drivers/acpi/acpica/acnamesp.h
index 908cfdd3b895..f75a7a01b875 100644
--- a/drivers/acpi/acpica/acnamesp.h
+++ b/drivers/acpi/acpica/acnamesp.h
@@ -278,6 +278,10 @@ acpi_ns_repair_object(struct acpi_predefined_data *data,
u32 package_index,
union acpi_operand_object **return_object_ptr);
+acpi_status
+acpi_ns_repair_package_list(struct acpi_predefined_data *data,
+ union acpi_operand_object **obj_desc_ptr);
+
/*
* nssearch - Namespace searching and entry
*/