summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/dscontrol.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/dscontrol.c')
-rw-r--r--drivers/acpi/acpica/dscontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/dscontrol.c b/drivers/acpi/acpica/dscontrol.c
index 39da9da62bbf..435fc16e2f83 100644
--- a/drivers/acpi/acpica/dscontrol.c
+++ b/drivers/acpi/acpica/dscontrol.c
@@ -212,7 +212,7 @@ acpi_ds_exec_end_control_op(struct acpi_walk_state * walk_state,
*/
control_state->control.loop_count++;
if (control_state->control.loop_count >
- ACPI_MAX_LOOP_ITERATIONS) {
+ acpi_gbl_max_loop_iterations) {
status = AE_AML_INFINITE_LOOP;
break;
}