diff options
author | Bob Moore <robert.moore@intel.com> | 2015-05-21 05:31:44 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-05-22 04:22:21 +0300 |
commit | 5b0bbfbd56118d2f5dca2b56ea47103470fa7aaa (patch) | |
tree | cbd02e4c5b232bcea34c6fb9af58e409b0ed8e66 /drivers/acpi/acpica/acdebug.h | |
parent | 80fa6cf95e71d56333c89c92dbf74465a9505421 (diff) | |
download | linux-5b0bbfbd56118d2f5dca2b56ea47103470fa7aaa.tar.xz |
ACPICA: iASL/disassembler - fix possible fault for -e option.
ACPICA commit 403b8b0023fd7549b2f9bf818fcc1ba481047b69
If non-AML files are used with the -e option, the disassembler
can fault. The fix is to ensure that all -e files are either
SSDTs or a DSDT. ACPICA BZ 1158.
Link: https://github.com/acpica/acpica/commit/403b8b00
Reference: https://bugs.acpica.org/show_bug.cgi?id=1158
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acdebug.h')
-rw-r--r-- | drivers/acpi/acpica/acdebug.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/acdebug.h b/drivers/acpi/acpica/acdebug.h index 4169bb87a996..43685dd36c77 100644 --- a/drivers/acpi/acpica/acdebug.h +++ b/drivers/acpi/acpica/acdebug.h @@ -231,7 +231,9 @@ void acpi_db_open_debug_file(char *name); acpi_status acpi_db_load_acpi_table(char *filename); acpi_status -acpi_db_get_table_from_file(char *filename, struct acpi_table_header **table); +acpi_db_get_table_from_file(char *filename, + struct acpi_table_header **table, + u8 must_be_aml_table); /* * dbhistry - debugger HISTORY command |