summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-01-02 02:42:21 +0100
committerFelix Singer <felixsinger@posteo.net>2022-07-30 00:11:08 +0000
commitb4a7f7443645b279f8935466d679caeebb637a95 (patch)
tree8d3c7f276334c63c89a4c33b8895b55427765a28 /src/arch/x86
parent7ee6b5a3a58b2677050c571698f563ffc75a3d6e (diff)
arch/x86/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax
Replace `LNotEqual(a, b)` with `a != b`. Change-Id: If0e9fcea680d487c28a965e944b3333bb5a07026 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60696 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems> Reviewed-by: Sridhar Siricilla <sridhar.siricilla@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/acpi/globutil.asl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/arch/x86/acpi/globutil.asl b/src/arch/x86/acpi/globutil.asl
index e44eb39917..e9bbcfee0c 100644
--- a/src/arch/x86/acpi/globutil.asl
+++ b/src/arch/x86/acpi/globutil.asl
@@ -78,8 +78,7 @@ Method(WCMP, 2)
Store(SLEN(Arg1), Local3)
While(Local2 < Local3) {
- if (LNotEqual(Derefof(Local0[Local2]),
- Derefof(Local1[Local2]))) {
+ if (Derefof(Local0[Local2]) != Derefof(Local1[Local2])) {
Return(0)
}
Local2++
@@ -93,7 +92,7 @@ Method(WCMP, 2)
Method(I2BM, 1)
{
Store(0, Local0)
- if (LNotEqual(ARG0, 0)) {
+ if (ARG0 != 0) {
Store(1, Local1)
Local0 = Local1 << ARG0
}