aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/nspredef.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-11-11 20:44:06 -0500
committerLen Brown <len.brown@intel.com>2009-11-24 21:31:10 -0500
commitad5babeed8d3082406c5b67ae558b95a479ddb6f (patch)
tree1a39c2247ad6dc694d599543f2524c145e5efbf4 /drivers/acpi/acpica/nspredef.c
parent419a909dd10142d015dd96457db1b1eda643f89e (diff)
ACPICA: Add repair for predefined methods that must return sorted lists
This change will repair (by sorting) packages returned by _ALR, _PSS, and _TSS. Drivers can now assume that the packages are correctly sorted. Adds one new file, nsrepair2.c. ACPICA BZ 784. http://www.acpica.org/bugzilla/show_bug.cgi?id=784 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/nspredef.c')
-rw-r--r--drivers/acpi/acpica/nspredef.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/nspredef.c b/drivers/acpi/acpica/nspredef.c
index 40280981033e..b05f42903c86 100644
--- a/drivers/acpi/acpica/nspredef.c
+++ b/drivers/acpi/acpica/nspredef.c
@@ -232,6 +232,12 @@ acpi_ns_check_predefined_names(struct acpi_namespace_node *node,
232 status = acpi_ns_check_package(data, return_object_ptr); 232 status = acpi_ns_check_package(data, return_object_ptr);
233 } 233 }
234 234
235 /*
236 * Perform additional, more complicated repairs on a per-name
237 * basis.
238 */
239 status = acpi_ns_complex_repairs(data, node, status, return_object_ptr);
240
235check_validation_status: 241check_validation_status:
236 /* 242 /*
237 * If the object validation failed or if we successfully repaired one 243 * If the object validation failed or if we successfully repaired one