diff options
author | Can Erkin Acar <canacar@cvs.openbsd.org> | 2006-10-15 07:30:02 +0000 |
---|---|---|
committer | Can Erkin Acar <canacar@cvs.openbsd.org> | 2006-10-15 07:30:02 +0000 |
commit | 3f8f541069373458f0426ba024e20e44b1737467 (patch) | |
tree | 6f4a3c372e3ccf5d5c58f430973269c66c3d28bc /sys/dev/acpi/dsdt.c | |
parent | 6b65d7bf08357380fb2694651c87a85198c6aa86 (diff) |
Remove extra increment of bitmask. ok jordan@
Diffstat (limited to 'sys/dev/acpi/dsdt.c')
-rw-r--r-- | sys/dev/acpi/dsdt.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c index acf88688e26..b03eac25b9d 100644 --- a/sys/dev/acpi/dsdt.c +++ b/sys/dev/acpi/dsdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsdt.c,v 1.50 2006/10/12 23:16:11 jordan Exp $ */ +/* $OpenBSD: dsdt.c,v 1.51 2006/10/15 07:30:01 canacar Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> * @@ -881,7 +881,6 @@ aml_fieldio(struct aml_scope *scope, struct aml_value *field, field->v_field.bitlen + mask) & ~mask; aligned = (bpos == field->v_field.bitpos && blen == field->v_field.bitlen); - mask++; /* Verify that I/O is in range */ #if 0 @@ -1558,7 +1557,9 @@ aml_evalmethod(struct aml_node *node, struct aml_value *res) { struct aml_scope *scope; - +#ifdef ACPI_DEBUG + int idx; +#endif scope = aml_pushscope(NULL, node->value->v_method.start, node->value->v_method.end, node); scope->args = argv; |