From 5cb17b9e44e0f5b04df3d136964b9cd4e2296206 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Sat, 17 Feb 2007 23:59:04 +0000 Subject: Add SMALL_KERNEL throught acpi to make it fit on boot media. ok deraadt --- sys/dev/acpi/acpiec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/dev/acpi/acpiec.c') diff --git a/sys/dev/acpi/acpiec.c b/sys/dev/acpi/acpiec.c index e69129d084c..24acd86d84e 100644 --- a/sys/dev/acpi/acpiec.c +++ b/sys/dev/acpi/acpiec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpiec.c,v 1.15 2006/12/23 17:24:40 canacar Exp $ */ +/* $OpenBSD: acpiec.c,v 1.16 2007/02/17 23:59:03 marco Exp $ */ /* * Copyright (c) 2006 Can Erkin Acar * @@ -297,8 +297,10 @@ acpiec_attach(struct device *parent, struct device *self, void *aux) dnprintf(10, "%s: GPE: %d\n", DEVNAME(sc), sc->sc_gpe); +#ifndef SMALL_KERNEL acpi_set_gpehandler(sc->sc_acpi, sc->sc_gpe, acpiec_gpehandler, sc, "acpiec"); +#endif printf(": %s\n", sc->sc_devnode->parent->name); } -- cgit v1.2.3