summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}