diff options
author | Bob Moore <robert.moore@intel.com> | 2007-02-02 11:48:24 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-02 21:14:31 -0500 |
commit | 035f994b3ccfcfc555f838e2f33a2e49721e8533 (patch) | |
tree | 35e25f6dd618c79b413dfafbc736e56975fab29a /drivers/acpi | |
parent | 6c9deb7201d96733dcd1b4cc44e99232308db359 (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')
-rw-r--r-- | drivers/acpi/tables/tbxface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/tables/tbxface.c b/drivers/acpi/tables/tbxface.c index 84a80891d21b..807978d5381a 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) | |||
524 | /* | 524 | /* |
525 | * DSDT table has been found | 525 | * DSDT table has been found |
526 | */ | 526 | */ |
527 | acpi_tb_delete_table(ACPI_TABLE_INDEX_DSDT); | 527 | acpi_tb_delete_table(&acpi_gbl_root_table_list. |
528 | tables[ACPI_TABLE_INDEX_DSDT]); | ||
528 | acpi_gbl_root_table_list.tables[ACPI_TABLE_INDEX_DSDT].pointer = | 529 | acpi_gbl_root_table_list.tables[ACPI_TABLE_INDEX_DSDT].pointer = |
529 | table; | 530 | table; |
530 | acpi_gbl_root_table_list.tables[ACPI_TABLE_INDEX_DSDT].length = | 531 | acpi_gbl_root_table_list.tables[ACPI_TABLE_INDEX_DSDT].length = |