summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/tables/tbxface.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2007-02-02 19:48:24 +0300
committerLen Brown <len.brown@intel.com>2007-02-02 21:14:31 -0500
commit035f994b3ccfcfc555f838e2f33a2e49721e8533 (patch)
tree35e25f6dd618c79b413dfafbc736e56975fab29a /drivers/acpi/tables/tbxface.c
parent6c9deb7201d96733dcd1b4cc44e99232308db359 (diff)
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: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/tables/tbxface.c')
-rw-r--r--drivers/acpi/tables/tbxface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/tables/tbxface.c b/drivers/acpi/tables/tbxface.c
index 84a80891d21..807978d5381 100644
--- a/drivers/acpi/tables/tbxface.c
+++ b/drivers/acpi/tables/tbxface.c
@@ -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 =