summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c2
1 files changed, 1 insertions, 1 deletions
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);