Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165217
b: refs/heads/master
c: 9e64155
h: refs/heads/master
i:
  165215: 8c76c0f
v: v3
  • Loading branch information
Bob Moore authored and Len Brown committed Sep 9, 2009
1 parent 14b3521 commit 073120f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eb752552464dbb7a99f8a975ec3b9355893cedd4
refs/heads/master: 9e64155eb1b6ab78980db58cfd21385fa5f6b024
15 changes: 15 additions & 0 deletions trunk/drivers/acpi/acpica/nsinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,21 @@ acpi_status acpi_ns_initialize_devices(void)
goto error_exit;
}

/*
* Execute the "global" _INI method that may appear at the root. This
* support is provided for Windows compatibility (Vista+) and is not
* part of the ACPI specification.
*/
info.evaluate_info->prefix_node = acpi_gbl_root_node;
info.evaluate_info->pathname = METHOD_NAME__INI;
info.evaluate_info->parameters = NULL;
info.evaluate_info->flags = ACPI_IGNORE_RETURN_VALUE;

status = acpi_ns_evaluate(info.evaluate_info);
if (ACPI_SUCCESS(status)) {
info.num_INI++;
}

/* Walk namespace to execute all _INIs on present devices */

status = acpi_ns_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
Expand Down

0 comments on commit 073120f

Please sign in to comment.