diff options
Diffstat (limited to 'drivers/acpi/dispatcher/dswload.c')
-rw-r--r-- | drivers/acpi/dispatcher/dswload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/dispatcher/dswload.c b/drivers/acpi/dispatcher/dswload.c index 4ed08680ae7c..baf04e883177 100644 --- a/drivers/acpi/dispatcher/dswload.c +++ b/drivers/acpi/dispatcher/dswload.c | |||
@@ -754,7 +754,7 @@ acpi_ds_load2_begin_op(struct acpi_walk_state *walk_state, | |||
754 | } | 754 | } |
755 | 755 | ||
756 | flags = ACPI_NS_NO_UPSEARCH; | 756 | flags = ACPI_NS_NO_UPSEARCH; |
757 | if (walk_state->pass_number == 3) { | 757 | if (walk_state->pass_number == ACPI_IMODE_EXECUTE) { |
758 | 758 | ||
759 | /* Execution mode, node cannot already exist, node is temporary */ | 759 | /* Execution mode, node cannot already exist, node is temporary */ |
760 | 760 | ||