diff options
author | des <des@FreeBSD.org> | 2004-08-29 11:10:09 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-08-29 11:10:09 +0000 |
commit | 431e20a6fe37bbf2b75f14568715abb0aabbc978 (patch) | |
tree | 78ee4c2f99a2739a600e629cffab5511f9c4bf38 /sys/kern/kern_shutdown.c | |
parent | afdf24de11cbed1e06fc71aef93a2c5e5a553228 (diff) | |
download | FreeBSD-src-431e20a6fe37bbf2b75f14568715abb0aabbc978.zip FreeBSD-src-431e20a6fe37bbf2b75f14568715abb0aabbc978.tar.gz |
Remove the HW_WDOG option; it serves no purpose.
MFC after: 3 days
Diffstat (limited to 'sys/kern/kern_shutdown.c')
-rw-r--r-- | sys/kern/kern_shutdown.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c index c63c586..a720bec 100644 --- a/sys/kern/kern_shutdown.c +++ b/sys/kern/kern_shutdown.c @@ -38,7 +38,6 @@ __FBSDID("$FreeBSD$"); #include "opt_kdb.h" -#include "opt_hw_wdog.h" #include "opt_mac.h" #include "opt_panic.h" #include "opt_show_busybufs.h" @@ -104,17 +103,6 @@ SYSCTL_INT(_kern, OID_AUTO, sync_on_panic, CTLFLAG_RW, SYSCTL_NODE(_kern, OID_AUTO, shutdown, CTLFLAG_RW, 0, "Shutdown environment"); -#ifdef HW_WDOG -/* - * If there is a hardware watchdog, point this at the function needed to - * hold it off. - * It's needed when the kernel needs to do some lengthy operations. - * e.g. in wd.c when dumping core.. It's most annoying to have - * your precious core-dump only half written because the wdog kicked in. - */ -watchdog_tickle_fn wdog_tickler = NULL; -#endif /* HW_WDOG */ - /* * Variable panicstr contains argument to first call to panic; used as flag * to indicate that the kernel has already called panic. |