aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2015-01-19 15:39:20 +0000
committerDaniel Thompson <daniel.thompson@linaro.org>2015-01-27 16:49:12 +0000
commit78c3d839614579aee184b2943454e49ddac8f009 (patch)
treec6bddd06dac9fee3390c94f7822c69aa20d68643
parentb1513bcaba672015e3f6209ada7dafeb31ed28f2 (diff)
downloadlinux-78c3d839614579aee184b2943454e49ddac8f009.tar.gz
arm: smp: Replace IPI_CPU_BACKTRACE with IPI_NMI
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
-rw-r--r--arch/arm/include/asm/smp.h1
-rw-r--r--arch/arm/kernel/smp.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/smp.h b/arch/arm/include/asm/smp.h
index b076584ac0fa..d9d379277167 100644
--- a/arch/arm/include/asm/smp.h
+++ b/arch/arm/include/asm/smp.h
@@ -82,6 +82,7 @@ extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
extern void arch_send_wakeup_ipi_mask(const struct cpumask *mask);
extern void ipi_cpu_backtrace(struct pt_regs *regs);
+extern void send_nmi_ipi_mask(const struct cpumask *mask);
extern int register_ipi_completion(struct completion *completion, int cpu);
struct smp_operations {
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index 899da46b0d00..5d7d578f2b6c 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -798,3 +798,8 @@ void ipi_cpu_backtrace(struct pt_regs *regs)
cpumask_clear_cpu(cpu, to_cpumask(backtrace_mask));
}
}
+
+void send_nmi_ipi_mask(const struct cpumask *mask)
+{
+ smp_cross_call(mask, IPI_CPU_BACKTRACE);
+}