summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2008-02-07 19:53:50 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2008-02-07 19:53:50 +0000
commitc8a4469aa9f4b876c7471dfbfdfd980538c0a1d8 (patch)
treee6e63ba880ca65a53861dd1b23c42fab93be5356 /sys/dev/acpi
parenta9a6056b5f35b52963e741a42ea5af60b3019f1d (diff)
unbreak build: aml_showvalue() is only available on !SMALL_KERNEL
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/acpicpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpicpu.c b/sys/dev/acpi/acpicpu.c
index 5312fa075dc..4b8903ceeaa 100644
--- a/sys/dev/acpi/acpicpu.c
+++ b/sys/dev/acpi/acpicpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpicpu.c,v 1.41 2008/01/06 18:01:31 marco Exp $ */
+/* $OpenBSD: acpicpu.c,v 1.42 2008/02/07 19:53:49 pvalchev Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
@@ -209,7 +209,7 @@ acpicpu_add_cstatepkg(struct aml_value *val, void *arg)
{
struct acpicpu_softc *sc = arg;
-#ifdef ACPI_DEBUG
+#if defined(ACPI_DEBUG) && !defined(SMALL_KERNEL)
aml_showvalue(val, 0);
#endif
if (val->type != AML_OBJTYPE_PACKAGE || val->length != 4)