From 4b153919c2d9078aa2a10dc52792ac532c66d889 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sun, 20 Jan 2019 00:19:51 +0000 Subject: fix SMALL_KERNEL build after changes in rev 1.361 reported by naddy@ ok deraadt@ --- sys/dev/acpi/acpi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c index 7b80f800239..5835399f682 100644 --- a/sys/dev/acpi/acpi.c +++ b/sys/dev/acpi/acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi.c,v 1.361 2019/01/19 20:45:06 tedu Exp $ */ +/* $OpenBSD: acpi.c,v 1.362 2019/01/20 00:19:50 jsg Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert * Copyright (c) 2005 Jordan Hargrave @@ -1973,9 +1973,11 @@ acpi_pbtn_task(void *arg0, int dummy) case 1: acpi_addtask(sc, acpi_powerdown_task, sc, 0); break; +#ifndef SMALL_KERNEL case 2: acpi_addtask(sc, acpi_sleep_task, sc, ACPI_SLEEP_SUSPEND); break; +#endif } } -- cgit v1.2.3