git: kernel/wdog: Compile in kern_wdog.c by default.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu May 3 13:59:05 PDT 2012


commit cf03d6cd83d04f6699343a657716434014c9a830
Author: Sascha Wildner <saw at online.de>
Date:   Thu May 3 22:58:16 2012 +0200

    kernel/wdog: Compile in kern_wdog.c by default.
    
    Actually it was always compiled in by default but the code depended
    on the WATCHDOG_ENABLED option which is not in the GENERIC kernels.
    
    Simply remove the WATCHDOG_ENABLE option. The code is small, it does
    nothing by default than initializing a lock, a /dev/wdog and a
    callout, and it also makes it easier for people who want to use
    ichwd(4) by simply kldloading it.

Summary of changes:
 UPDATING                        |    6 ++++++
 sys/conf/options                |    3 ---
 sys/config/LINT                 |    1 -
 sys/config/LINT64               |    1 -
 sys/config/SOEKRIS              |    1 -
 sys/kern/kern_shutdown.c        |    2 +-
 sys/kern/kern_wdog.c            |    5 +----
 sys/platform/pc32/i386/cs5536.c |    5 -----
 sys/platform/pc32/i386/geode.c  |    6 ------
 9 files changed, 8 insertions(+), 22 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cf03d6cd83d04f6699343a657716434014c9a830


-- 
DragonFly BSD source repository





More information about the Commits mailing list