提交 035f994b 编写于 作者: B Bob Moore 提交者: Len Brown

ACPICA: Fix for incorrect parameter passed to AcpiTbDeleteTable during table load.

Bad pointer was passed in the case where the DSDT is overridden.
Signed-off-by: NAlexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 6c9deb72
...@@ -524,7 +524,8 @@ static acpi_status acpi_tb_load_namespace(void) ...@@ -524,7 +524,8 @@ static acpi_status acpi_tb_load_namespace(void)
/* /*
* DSDT table has been found * DSDT table has been found
*/ */
acpi_tb_delete_table(ACPI_TABLE_INDEX_DSDT); acpi_tb_delete_table(&acpi_gbl_root_table_list.
tables[ACPI_TABLE_INDEX_DSDT]);
acpi_gbl_root_table_list.tables[ACPI_TABLE_INDEX_DSDT].pointer = acpi_gbl_root_table_list.tables[ACPI_TABLE_INDEX_DSDT].pointer =
table; table;
acpi_gbl_root_table_list.tables[ACPI_TABLE_INDEX_DSDT].length = acpi_gbl_root_table_list.tables[ACPI_TABLE_INDEX_DSDT].length =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册