summaryrefslogtreecommitdiff
path: root/src/arch/x86/acpi/globutil.asl
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 13:45:48 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 14:08:27 +0000
commit60e1dfa8cdd9378e88588205f1c7e8e2e9af61e0 (patch)
tree791d8063ce42b2e0bfc64dd4d689b3de29d1c21f /src/arch/x86/acpi/globutil.asl
parentca1b2a5b658a3c9e730cb80591d8b5b7990dc390 (diff)
arch/x86/acpi: Replace Increment() with ASL 2.0 syntax
Replace `Increment(a)` with `a++`. Change-Id: I45ce13509f3e93d7d8cd69689604f24b926bcfbc Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60579 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/arch/x86/acpi/globutil.asl')
-rw-r--r--src/arch/x86/acpi/globutil.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/acpi/globutil.asl b/src/arch/x86/acpi/globutil.asl
index 3a7144d3a5..e47b7f25a8 100644
--- a/src/arch/x86/acpi/globutil.asl
+++ b/src/arch/x86/acpi/globutil.asl
@@ -50,7 +50,7 @@ Method(SCMP, 2)
Return(Ones)
}
}
- Increment(Local4)
+ Local4++
}
if (LLess(Local4, Local5)) {
Return(One)
@@ -82,7 +82,7 @@ Method(WCMP, 2)
Derefof(Local1[Local2]))) {
Return(0)
}
- Increment(Local2)
+ Local2++
}
Return(One)
}