X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/18842f8755afe29b5c0a8eee3a416099c1a3ef88..dc1f0c32c7fc544b6b18a2235fd152c4dc6d693a:/target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c diff --git a/target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c b/target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c index 1737b968f..d71b6f684 100644 --- a/target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c +++ b/target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c @@ -81,7 +81,7 @@ ar2315_wdt_interrupt(int irq, void *dev_id) if(started) { printk(KERN_CRIT "watchdog expired, rebooting system\n"); - sysRegWrite(AR5315_COLD_RESET, RESET_SYSTEM); + emergency_restart(); } else { sysRegWrite(AR5315_WDC, 0); sysRegWrite(AR5315_WD, 0);