summaryrefslogtreecommitdiff
path: root/source/components/dispatcher/dscontrol.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/dispatcher/dscontrol.c')
-rw-r--r--source/components/dispatcher/dscontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/components/dispatcher/dscontrol.c b/source/components/dispatcher/dscontrol.c
index 03ba14c5b2711..fed1f4a9ed3fe 100644
--- a/source/components/dispatcher/dscontrol.c
+++ b/source/components/dispatcher/dscontrol.c
@@ -221,7 +221,7 @@ AcpiDsExecEndControlOp (
* loop does not implement a timeout.
*/
ControlState->Control.LoopCount++;
- if (ControlState->Control.LoopCount > ACPI_MAX_LOOP_ITERATIONS)
+ if (ControlState->Control.LoopCount > AcpiGbl_MaxLoopIterations)
{
Status = AE_AML_INFINITE_LOOP;
break;