summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/acpi/debug.asl4
-rw-r--r--src/arch/x86/acpi/globutil.asl2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/acpi/debug.asl b/src/arch/x86/acpi/debug.asl
index fe71b3e341..fcacd2f492 100644
--- a/src/arch/x86/acpi/debug.asl
+++ b/src/arch/x86/acpi/debug.asl
@@ -125,10 +125,10 @@ Method(DBGO, 1)
{
/* DINI() */
if (ObjectType(Arg0) == 1) {
- if (LGreater(Arg0, 0xffff)) {
+ if (Arg0 > 0xffff) {
DBGD(Arg0)
} else {
- if (LGreater(Arg0, 0xff)) {
+ if (Arg0 > 0xff) {
DBGW(Arg0)
} else {
DBGB(Arg0)
diff --git a/src/arch/x86/acpi/globutil.asl b/src/arch/x86/acpi/globutil.asl
index e47b7f25a8..35b6c17327 100644
--- a/src/arch/x86/acpi/globutil.asl
+++ b/src/arch/x86/acpi/globutil.asl
@@ -43,7 +43,7 @@ Method(SCMP, 2)
While(LLess(Local4, Local7)) {
Store(Derefof(Local0[Local4]), Local2)
Store(Derefof(Local1[Local4]), Local3)
- if (LGreater(Local2, Local3)) {
+ if (Local2 > Local3) {
Return(One)
} else {
if (LLess(Local2, Local3)) {