diff options
author | Bob Moore <robert.moore@intel.com> | 2008-06-10 08:14:17 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-06-12 01:13:47 +0200 |
commit | 0bda3f2f86e233b00b46d91b07db25dd23ec15bc (patch) | |
tree | 3ec5ae8bb42de8a9783e589b9c5072c5999d0fa9 /drivers/acpi | |
parent | ACPICA: Ignore ACPI table signature for Load() operator (diff) | |
download | linux-0bda3f2f86e233b00b46d91b07db25dd23ec15bc.tar.xz linux-0bda3f2f86e233b00b46d91b07db25dd23ec15bc.zip |
ACPICA: Fix for Load operator, load table at the namespace root
This reverts a change introduced in version 20071019. The table
is now loaded at the namespace root even though this goes against
the ACPI specification. This provides compatibility with other
ACPI implementations.
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/executer/exconfig.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/acpi/executer/exconfig.c b/drivers/acpi/executer/exconfig.c index 24da921d13e3..39d742190584 100644 --- a/drivers/acpi/executer/exconfig.c +++ b/drivers/acpi/executer/exconfig.c @@ -375,9 +375,15 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc, goto cleanup; } + /* + * Add the table to the namespace. + * + * Note: We load the table objects relative to the root of the namespace. + * This appears to go against the ACPI specification, but we do it for + * compatibility with other ACPI implementations. + */ status = - acpi_ex_add_table(table_index, walk_state->scope_info->scope.node, - &ddb_handle); + acpi_ex_add_table(table_index, acpi_gbl_root_node, &ddb_handle); if (ACPI_FAILURE(status)) { /* On error, table_ptr was deallocated above */ |