summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/time-ts.c
diff options
context:
space:
mode:
authorGraf Yang <graf.yang@analog.com>2010-01-20 11:56:24 +0100
committerMike Frysinger <vapier@gentoo.org>2010-03-09 06:30:49 +0100
commit60ffdb36547da2397d6cfefe9c752ebad16524f6 (patch)
treece188bc0ccd1d8d0e6ff0f49937dca95e1f571c0 /arch/blackfin/kernel/time-ts.c
parentBlackfin: respect the L1 kconfig optimization in the MPU code (diff)
downloadlinux-60ffdb36547da2397d6cfefe9c752ebad16524f6.tar.xz
linux-60ffdb36547da2397d6cfefe9c752ebad16524f6.zip
Blackfin: implement nmi_watchdog for SMP on BF561
Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel/time-ts.c')
-rw-r--r--arch/blackfin/kernel/time-ts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/time-ts.c b/arch/blackfin/kernel/time-ts.c
index a351f97c87a3..41a907596c70 100644
--- a/arch/blackfin/kernel/time-ts.c
+++ b/arch/blackfin/kernel/time-ts.c
@@ -21,6 +21,7 @@
#include <asm/blackfin.h>
#include <asm/time.h>
#include <asm/gptimers.h>
+#include <asm/nmi.h>
/* Accelerators for sched_clock()
* convert from cycles(64bits) => nanoseconds (64bits)
@@ -309,6 +310,9 @@ irqreturn_t bfin_coretmr_interrupt(int irq, void *dev_id)
smp_mb();
evt->event_handler(evt);
+
+ touch_nmi_watchdog();
+
return IRQ_HANDLED;
}