diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2008-02-07 17:49:00 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2008-02-07 17:49:00 +0000 |
commit | 03e72dbff2c775cd400040f5662676731a266bce (patch) | |
tree | 954a53a8cc717489a3d823b72e28da2badbb747a /sys/dev/acpi | |
parent | 9c606e0811232756b3c9a0307da2949105a894de (diff) |
unbreak SMALL_KERNEL kernels, with miod
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r-- | sys/dev/acpi/dsdt.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c index 2cf71410723..be6e3916367 100644 --- a/sys/dev/acpi/dsdt.c +++ b/sys/dev/acpi/dsdt.c @@ -1,5 +1,5 @@ -/* $OpenBSD: dsdt.c,v 1.108 2008/02/05 21:15:26 jordan Exp $ */ +/* $OpenBSD: dsdt.c,v 1.109 2008/02/07 17:48:59 henning Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> * @@ -982,7 +982,9 @@ aml_setbufint(struct aml_value *dst, int bitpos, int bitlen, struct aml_value *src) { if (src->type != AML_OBJTYPE_BUFFER) { +#ifndef SMALL_KERNEL aml_showvalue(src, 0); +#endif aml_die("wrong setbufint type %d\n", src->type); } #if 1 @@ -1724,7 +1726,7 @@ aml_setvalue(struct aml_scope *scope, struct aml_value *lhs, snprintf(lhs->v_string, lhs->length, "%lld", rhs->v_integer); } else { - //aml_showvalue(rhs); + /* aml_showvalue(rhs); */ aml_die("setvalue.str"); } break; |