summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpi.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2020-12-27 23:06:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2020-12-27 23:06:35 +0000
commite374276f09fbcb9c435371d38ef6e5fd10572088 (patch)
treeab9c14aab3a394d082e20213a9e24a1a6c56af69 /sys/dev/acpi/acpi.c
parent67f298458263f22ad6b901d5a69c1eb0b513b975 (diff)
acpi_map_address() cannot be wrapped by SMALL_KERNEL anymore, as
it is used by acpihpet.c
Diffstat (limited to 'sys/dev/acpi/acpi.c')
-rw-r--r--sys/dev/acpi/acpi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index c40b37c2e8b..4c824ee6cbb 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.394 2020/12/25 12:59:52 visa Exp $ */
+/* $OpenBSD: acpi.c,v 1.395 2020/12/27 23:06:34 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -2782,6 +2782,8 @@ acpi_powerdown(void)
;
}
+#endif /* SMALL_KERNEL */
+
int
acpi_map_address(struct acpi_softc *sc, struct acpi_gas *gas, bus_addr_t base,
bus_size_t size, bus_space_handle_t *pioh, bus_space_tag_t *piot)
@@ -2809,8 +2811,6 @@ acpi_map_address(struct acpi_softc *sc, struct acpi_gas *gas, bus_addr_t base,
return 0;
}
-#endif /* SMALL_KERNEL */
-
void
acpi_wakeup(void *arg)
{