]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - cpu/nios/interrupts.c
* Patch by Peter Ryser, 20 Feb 2004:
[karo-tx-uboot.git] / cpu / nios / interrupts.c
index 450946bbc3b69bcbf1f6852e8fe2d29b66e928fa..443680582d538b93cf6f0f6f776fdf866cd862d3 100644 (file)
@@ -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);
 }