From b4a7f7443645b279f8935466d679caeebb637a95 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 2 Jan 2022 02:42:21 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60696 Reviewed-by: Tim Wawrzynczak Reviewed-by: Sean Rhodes Reviewed-by: Sridhar Siricilla Tested-by: build bot (Jenkins) --- src/arch/x86/acpi/globutil.asl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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 } -- cgit v1.2.3