diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpi/dsdt.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c index 3c18fbe947d..9f36a2d86d6 100644 --- a/sys/dev/acpi/dsdt.c +++ b/sys/dev/acpi/dsdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsdt.c,v 1.181 2011/01/02 04:56:57 jordan Exp $ */ +/* $OpenBSD: dsdt.c,v 1.182 2011/03/20 00:09:14 jordan Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> * @@ -1167,31 +1167,31 @@ aml_evalexpr(int64_t lhs, int64_t rhs, int opcode) /* Logical/Comparison */ case AMLOP_LAND: - res = (lhs && rhs); + res = -(lhs && rhs); break; case AMLOP_LOR: - res = (lhs || rhs); + res = -(lhs || rhs); break; case AMLOP_LNOT: - res = (!lhs); + res = -(!lhs); break; case AMLOP_LNOTEQUAL: - res = (lhs != rhs); + res = -(lhs != rhs); break; case AMLOP_LLESSEQUAL: - res = (lhs <= rhs); + res = -(lhs <= rhs); break; case AMLOP_LGREATEREQUAL: - res = (lhs >= rhs); + res = -(lhs >= rhs); break; case AMLOP_LEQUAL: - res = (lhs == rhs); + res = -(lhs == rhs); break; case AMLOP_LGREATER: - res = (lhs > rhs); + res = -(lhs > rhs); break; case AMLOP_LLESS: - res = (lhs < rhs); + res = -(lhs < rhs); break; } |