ARM: smp: implement arch_trigger_all_cpus_backtrace using IPI
authorDima Zavin <dima@android.com>
Tue, 18 Oct 2011 23:59:54 +0000 (16:59 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:34:59 +0000 (13:34 -0700)
commit607503f2a789468fcd51549bed984a5153c0e4e1
tree0ba1f79b4579993125cb7dac6115144dc10af674
parent019f791ddf8fcabad913aa66866ad9f891152c57
ARM: smp: implement arch_trigger_all_cpus_backtrace using IPI

Based on a rough patch by frank.rowand@am.sony.com

Since ARM doesn't have an NMI (fiq's are not always available),
send an IPI to all other CPUs (current cpu prints the stack directly)
to capture a backtrace.

Change-Id: I8b163c8cec05d521b433ae133795865e8a33d4e2
Signed-off-by: Dima Zavin <dima@android.com>
arch/arm/include/asm/hardirq.h
arch/arm/include/asm/irq.h
arch/arm/include/asm/smp.h
arch/arm/kernel/process.c
arch/arm/kernel/smp.c