summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-15 22:19:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-15 22:19:15 +0000
commitb15e61556ee6cb83b6558e98b1166d88949a6a11 (patch)
treed3de24aece44c86100e432afb581fc5b4efa349e /sys/arch/amd64
parentdd4992934104c50c9952b5b76f65b9fb82a9ca8d (diff)
remove the #ifdef ACPI_ENABLE. the EC codepath is either safe enough (and
will be improved), or it is unsafe because AML assumes it must be there ok almost everyone
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/acpi_machdep.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/acpi_machdep.c b/sys/arch/amd64/amd64/acpi_machdep.c
index 5a17adcb76a..e72a6821107 100644
--- a/sys/arch/amd64/amd64/acpi_machdep.c
+++ b/sys/arch/amd64/amd64/acpi_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi_machdep.c,v 1.7 2007/11/12 20:58:12 kettenis Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.8 2007/11/15 22:19:14 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -152,8 +152,6 @@ havebase:
void
acpi_attach_machdep(struct acpi_softc *sc)
{
-#ifdef ACPI_ENABLE
sc->sc_interrupt = isa_intr_establish(NULL, sc->sc_fadt->sci_int,
IST_LEVEL, IPL_TTY, acpi_interrupt, sc, "acpi");
-#endif
}