Skip to content

Commit

Permalink
ACPICA: Fix for incorrect parameter passed to AcpiTbDeleteTable durin…
Browse files Browse the repository at this point in the history
…g table load.

Bad pointer was passed in the case where the DSDT is overridden.

Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Bob Moore authored and Len Brown committed Feb 3, 2007
1 parent 6c9deb7 commit 035f994
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/acpi/tables/tbxface.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,8 @@ static acpi_status acpi_tb_load_namespace(void)
/*
* 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 =
table;
acpi_gbl_root_table_list.tables[ACPI_TABLE_INDEX_DSDT].length =
Expand Down

0 comments on commit 035f994

Please sign in to comment.