diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-10-08 05:22:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-10-08 05:22:49 +0000 |
commit | 3631bebfa768876594219553ea3a644b345a8752 (patch) | |
tree | e88e3afa746cd25ac7cefca9477380b0003809c2 | |
parent | 5a39ca9afb6369f02c68632e403a578ace37de84 (diff) |
if SMALL_KERNEL do not register the imc_watchdog_cb callback. We still
use the callback function to clear conditions on boot... but no callback hook.
Should work :)
-rw-r--r-- | sys/arch/sgi/localbus/imc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sgi/localbus/imc.c b/sys/arch/sgi/localbus/imc.c index 04b60273ee7..13820743776 100644 --- a/sys/arch/sgi/localbus/imc.c +++ b/sys/arch/sgi/localbus/imc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imc.c,v 1.17 2014/07/02 17:44:35 miod Exp $ */ +/* $OpenBSD: imc.c,v 1.18 2014/10/08 05:22:48 deraadt Exp $ */ /* $NetBSD: imc.c,v 1.32 2011/07/01 18:53:46 dyoung Exp $ */ /* @@ -692,8 +692,10 @@ imc_attach(struct device *parent, struct device *self, void *aux) } #endif +#ifndef SMALL_KERNEL /* Register watchdog */ wdog_register(imc_watchdog_cb, self); +#endif } int |