]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/acpi/acpica/nsnames.c
Merge branch 'core-iommu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mv-sheeva.git] / drivers / acpi / acpica / nsnames.c
index 7dea0031605c386569bb25274d602bf80d86251f..d3104af57e13b17f4a40f9bc769cc3da8ca5f101 100644 (file)
@@ -93,7 +93,7 @@ acpi_ns_build_external_path(struct acpi_namespace_node *node,
                /* Put the name into the buffer */
 
                ACPI_MOVE_32_TO_32((name_buffer + index), &parent_node->name);
-               parent_node = acpi_ns_get_parent_node(parent_node);
+               parent_node = parent_node->parent;
 
                /* Prefix name with the path separator */
 
@@ -198,7 +198,7 @@ acpi_size acpi_ns_get_pathname_length(struct acpi_namespace_node *node)
                        return 0;
                }
                size += ACPI_PATH_SEGMENT_LENGTH;
-               next_node = acpi_ns_get_parent_node(next_node);
+               next_node = next_node->parent;
        }
 
        if (!size) {