git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
acpi
/
parser
/
pswalk.c
diff --git
a/drivers/acpi/parser/pswalk.c
b/drivers/acpi/parser/pswalk.c
index
06f05bf
..
a84a547
100644
(file)
--- a/
drivers/acpi/parser/pswalk.c
+++ b/
drivers/acpi/parser/pswalk.c
@@
-64,18
+64,21
@@
void acpi_ps_delete_parse_tree(union acpi_parse_object *subtree_root)
union acpi_parse_object *next = NULL;
union acpi_parse_object *parent = NULL;
union acpi_parse_object *next = NULL;
union acpi_parse_object *parent = NULL;
- ACPI_FUNCTION_TRACE_PTR(
"ps_delete_parse_tree"
, subtree_root);
+ ACPI_FUNCTION_TRACE_PTR(
ps_delete_parse_tree
, subtree_root);
/* Visit all nodes in the subtree */
while (op) {
/* Visit all nodes in the subtree */
while (op) {
+
/* Check if we are not ascending */
if (op != parent) {
/* Check if we are not ascending */
if (op != parent) {
+
/* Look for an argument or child of the current op */
next = acpi_ps_get_arg(op, 0);
if (next) {
/* Look for an argument or child of the current op */
next = acpi_ps_get_arg(op, 0);
if (next) {
+
/* Still going downward in tree (Op is not completed yet) */
op = next;
/* Still going downward in tree (Op is not completed yet) */
op = next;