summaryrefslogtreecommitdiff
path: root/cpu/nios/interrupts.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/nios/interrupts.c')
-rw-r--r--cpu/nios/interrupts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/nios/interrupts.c b/cpu/nios/interrupts.c
index 450946b..4436805 100644
--- a/cpu/nios/interrupts.c
+++ b/cpu/nios/interrupts.c
@@ -30,6 +30,7 @@
#include <asm/ptrace.h>
#include <common.h>
#include <command.h>
+#include <watchdog.h>
#ifdef CONFIG_STATUS_LED
#include <status_led.h>
#endif
@@ -54,6 +55,7 @@ void reset_timer (void)
ulong get_timer (ulong base)
{
+ WATCHDOG_RESET ();
return (timestamp - base);
}