summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/acinterp.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2011-11-30 09:35:05 +0800
committerLen Brown <len.brown@intel.com>2012-01-17 03:36:27 -0500
commitec4636669bf9c6ff157121ab42709650a9e0cc2a (patch)
tree41b10cf575dde3d9e83beae5b0511ac8d7531f31 /drivers/acpi/acpica/acinterp.h
parent46dfb09c024a1a92ead63b40f6993dcb5eb7d153 (diff)
downloadblackbird-obmc-linux-ec4636669bf9c6ff157121ab42709650a9e0cc2a.tar.gz
blackbird-obmc-linux-ec4636669bf9c6ff157121ab42709650a9e0cc2a.zip
ACPICA: Do not abort table load on invalid space ID
Ignore an invalid space ID during a table load. Instead, detect it if a control method attempts access - then abort the method. http://www.acpica.org/bugzilla/show_bug.cgi?id=925 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/acinterp.h')
-rw-r--r--drivers/acpi/acpica/acinterp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acinterp.h b/drivers/acpi/acpica/acinterp.h
index 3731e1c34b83..4ee9058aba53 100644
--- a/drivers/acpi/acpica/acinterp.h
+++ b/drivers/acpi/acpica/acinterp.h
@@ -468,6 +468,8 @@ void acpi_ex_eisa_id_to_string(char *dest, u64 compressed_id);
void acpi_ex_integer_to_string(char *dest, u64 value);
+u8 acpi_is_valid_space_id(u8 space_id);
+
/*
* exregion - default op_region handlers
*/
OpenPOWER on IntegriCloud