aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2008-11-12 21:51:49 -0500
committerLen Brown <len.brown@intel.com>2008-12-29 22:38:38 -0500
commit5572a9859fa55216597b8226717691956d3e53e3 (patch)
treefbf50f65441f1d96b83a1ec0c64aa32d1be88a8a /drivers
parent319f8b892722f289bb6e07b1067be3b2e0714238 (diff)
ACPICA: Fix to allow aliases within ASL namepaths
Fixes a problem where the use of an alias within a namepath would result in a not found error or cause the compiler to fault. Also now allows forward references from the Alias operator itself. ACPICA BZ 738. http://www.acpica.org/bugzilla/show_bug.cgi?id=738 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/namespace/nsaccess.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/namespace/nsaccess.c b/drivers/acpi/namespace/nsaccess.c
index 29c7c271dbb8..35b0e46bd095 100644
--- a/drivers/acpi/namespace/nsaccess.c
+++ b/drivers/acpi/namespace/nsaccess.c
@@ -588,6 +588,10 @@ acpi_ns_lookup(union acpi_generic_state *scope_info,
588 * segments). 588 * segments).
589 */ 589 */
590 if (this_node->type == ACPI_TYPE_LOCAL_ALIAS) { 590 if (this_node->type == ACPI_TYPE_LOCAL_ALIAS) {
591 if (!this_node->object) {
592 return_ACPI_STATUS(AE_NOT_EXIST);
593 }
594
591 if (acpi_ns_opens_scope 595 if (acpi_ns_opens_scope
592 (((struct acpi_namespace_node *)this_node-> 596 (((struct acpi_namespace_node *)this_node->
593 object)->type)) { 597 object)->type)) {