summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/aclocal.h
diff options
context:
space:
mode:
authorBob Moore2012-03-21 02:51:39 +0100
committerLen Brown2012-03-30 07:45:13 +0200
commit6a99b1c94d053b3420eaa4a4bc8b2883dd90a2f9 (patch)
tree6352de44a9cf8d6aff4b5b6674c33a96403c434e /drivers/acpi/acpica/aclocal.h
parentACPI: Move module parameter gts and bfs to sleep.c (diff)
downloadkernel-qcow2-linux-6a99b1c94d053b3420eaa4a4bc8b2883dd90a2f9.tar.gz
kernel-qcow2-linux-6a99b1c94d053b3420eaa4a4bc8b2883dd90a2f9.tar.xz
kernel-qcow2-linux-6a99b1c94d053b3420eaa4a4bc8b2883dd90a2f9.zip
ACPICA: Object repair code: Support to add Package wrappers
Repair a common problem with objects that are defined to return a variable-length Package of sub-objects. If there is only one sub-object, some BIOS code mistakenly simply declares the single object instead of a Package with one sub-object. This function attempts to repair this error by wrapping a Package object around the original object, creating the correct and expected Package with one sub-object. 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/aclocal.h')
-rw-r--r--drivers/acpi/acpica/aclocal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/aclocal.h b/drivers/acpi/acpica/aclocal.h
index 3f24068837d5..e3922ca20e7f 100644
--- a/drivers/acpi/acpica/aclocal.h
+++ b/drivers/acpi/acpica/aclocal.h
@@ -370,6 +370,7 @@ struct acpi_predefined_data {
/* Defines for Flags field above */
#define ACPI_OBJECT_REPAIRED 1
+#define ACPI_OBJECT_WRAPPED 2
/*
* Bitmapped return value types