summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/aclocal.h
diff options
context:
space:
mode:
authorBob Moore2009-06-24 07:38:02 +0200
committerLen Brown2009-08-27 16:17:20 +0200
commit0444e8f6d72d6e38f92d48884bc90bbc6c22fd5a (patch)
tree63f94d886d8e50c449dd8a6b46f3df3c326bf05a /drivers/acpi/acpica/aclocal.h
parentACPICA: Dump table header - suppress output of non-printable characters (diff)
downloadkernel-qcow2-linux-0444e8f6d72d6e38f92d48884bc90bbc6c22fd5a.tar.gz
kernel-qcow2-linux-0444e8f6d72d6e38f92d48884bc90bbc6c22fd5a.tar.xz
kernel-qcow2-linux-0444e8f6d72d6e38f92d48884bc90bbc6c22fd5a.zip
ACPICA: Fix: Predefined object repair executed only once
This fixes a problem where the code that attempts to repair/convert an object of incorrect type is only executed on the first time the predefined method is called. The mechanism that disables warnings on subsequent calls was interfering with the repair mechanism. ACPICA BZ 781. http://acpica.org/bugzilla/show_bug.cgi?id=781 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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/aclocal.h b/drivers/acpi/acpica/aclocal.h
index ee986edfa0da..ff6689eba917 100644
--- a/drivers/acpi/acpica/aclocal.h
+++ b/drivers/acpi/acpica/aclocal.h
@@ -369,6 +369,19 @@ union acpi_predefined_info {
struct acpi_package_info3 ret_info3;
};
+/* Data block used during object validation */
+
+struct acpi_predefined_data {
+ char *pathname;
+ const union acpi_predefined_info *predefined;
+ u32 flags;
+ u8 node_flags;
+};
+
+/* Defines for Flags field above */
+
+#define ACPI_OBJECT_REPAIRED 1
+
/*
* Bitmapped return value types
* Note: the actual data types must be contiguous, a loop in nspredef.c