aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTakanori Watanabe <takawata@FreeBSD.org>2002-07-02 03:38:07 +0000
committerTakanori Watanabe <takawata@FreeBSD.org>2002-07-02 03:38:07 +0000
commit4ec593593a4df4ed4aa7f1c3b9a3526acae5f702 (patch)
tree34aebf16df1e2d145d1d916f2ac88c1d474588f0 /sys/dev
parentc06ffb897731717abdb79bdc18a0d300bb83e754 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpica/acpi_ec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi_ec.c b/sys/dev/acpica/acpi_ec.c
index 96da6d351d46..cfb2239ec0da 100644
--- a/sys/dev/acpica/acpi_ec.c
+++ b/sys/dev/acpica/acpi_ec.c
@@ -618,7 +618,9 @@ EcWaitEventIntr(struct acpi_ec_softc *sc, EC_EVENT Event)
ACPI_FUNCTION_TRACE_U32((char *)(uintptr_t)__func__, (UINT32)Event);
/* XXX this should test whether interrupts are available some other way */
+#ifdef ACPI_EC_EVENT_DRIVEN
if(cold)
+#endif
return_ACPI_STATUS(EcWaitEvent(sc, Event));
if (!EcIsLocked(sc))