CVSROOT: /cvs Module name: src Changes by: j...@cvs.openbsd.org 2014/11/01 01:08:43
Modified files: sys/arch/armv7/omap: omdog.c sys/arch/armv7/sunxi: sxidog.c Log message: Now the armv7 ramdisks are compiled with SMALL_KERNEL the omap and sunxi ramdisks won't build because they call wdog_register() and kern_watchdog.c is !small_kernel in config. Leaving the watchdog devices out of the ramdisks won't work either as armv7_machdep.c uses platform_watchdog_reset() to reboot. Deal with this by only calling wdog_register() when not compiled with SMALL_KERNEL.