Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286454
b: refs/heads/master
c: 8931d9e
h: refs/heads/master
v: v3
  • Loading branch information
Lin Ming authored and Len Brown committed Jan 17, 2012
1 parent 7ed9649 commit 2b34c83
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 42f5284306465dc263ce227b0c5bd2c7dcd43cdf
refs/heads/master: 8931d9ea78848b073bf299594f148b83abde4a5e
1 change: 1 addition & 0 deletions trunk/drivers/acpi/acpica/acobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ typedef enum {
*/
struct acpi_object_extra {
ACPI_OBJECT_COMMON_HEADER struct acpi_namespace_node *method_REG; /* _REG method for this region (if any) */
struct acpi_namespace_node *scope_node;
void *region_context; /* Region-specific data */
u8 *aml_start;
u32 aml_length;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/acpi/acpica/dsargs.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ acpi_status acpi_ds_get_region_arguments(union acpi_operand_object *obj_desc)

/* Execute the argument AML */

status = acpi_ds_execute_arguments(node, node->parent,
status = acpi_ds_execute_arguments(node, extra_desc->extra.scope_node,
extra_desc->extra.aml_length,
extra_desc->extra.aml_start);
if (ACPI_FAILURE(status)) {
Expand Down
6 changes: 6 additions & 0 deletions trunk/drivers/acpi/acpica/excreate.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,12 @@ acpi_ex_create_region(u8 * aml_start,
region_obj2 = obj_desc->common.next_object;
region_obj2->extra.aml_start = aml_start;
region_obj2->extra.aml_length = aml_length;
if (walk_state->scope_info) {
region_obj2->extra.scope_node =
walk_state->scope_info->scope.node;
} else {
region_obj2->extra.scope_node = node;
}

/* Init the region from the operands */

Expand Down

0 comments on commit 2b34c83

Please sign in to comment.