diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2014-09-11 10:56:45 +0100 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2015-01-13 10:26:05 +0000 |
commit | 59f15ca65259a7a65737d4fa8d972a9d72f2b359 (patch) | |
tree | 8ec5b7bde404dca2c8f114a73e3cd04459465401 /arch/arm/include/asm/irq.h | |
parent | 896e4993565e491b166e24b9f54a14115968909c (diff) |
ARM: Add support for on-demand backtrace of other CPUs
Duplicate the x86 code to trigger a backtrace using an NMI and hook
it up to IPI on ARM. Where it is possible for the hardware to do so the
IPI will be delivered at FIQ level.
Also provide are a few small items of plumbing to hook up the new code.
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/arm/include/asm/irq.h')
-rw-r--r-- | arch/arm/include/asm/irq.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/irq.h b/arch/arm/include/asm/irq.h index 53c15dec7af6..be1d07d59ee9 100644 --- a/arch/arm/include/asm/irq.h +++ b/arch/arm/include/asm/irq.h @@ -35,6 +35,11 @@ extern void (*handle_arch_irq)(struct pt_regs *); extern void set_handle_irq(void (*handle_irq)(struct pt_regs *)); #endif +#ifdef CONFIG_SMP +extern void arch_trigger_all_cpu_backtrace(bool); +#define arch_trigger_all_cpu_backtrace(x) arch_trigger_all_cpu_backtrace(x) +#endif + #endif #endif |