diff options
author | Graf Yang <graf.yang@analog.com> | 2010-01-20 10:56:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 00:30:49 -0500 |
commit | 60ffdb36547da2397d6cfefe9c752ebad16524f6 (patch) | |
tree | ce188bc0ccd1d8d0e6ff0f49937dca95e1f571c0 /arch/blackfin/kernel/time-ts.c | |
parent | 726e96561e4704278bc5197238f6459e1a63aa77 (diff) | |
download | lwn-60ffdb36547da2397d6cfefe9c752ebad16524f6.tar.gz lwn-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.c | 4 |
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; } |