nmi_backtrace: do a local dump_stack() instead of a self-NMI
[cascardo/linux.git] / arch / arm / kernel / smp.c
index 5abc569..7dd14e8 100644 (file)
@@ -748,15 +748,6 @@ core_initcall(register_cpufreq_notifier);
 
 static void raise_nmi(cpumask_t *mask)
 {
-       /*
-        * Generate the backtrace directly if we are running in a calling
-        * context that is not preemptible by the backtrace IPI. Note
-        * that nmi_cpu_backtrace() automatically removes the current cpu
-        * from mask.
-        */
-       if (cpumask_test_cpu(smp_processor_id(), mask) && irqs_disabled())
-               nmi_cpu_backtrace(NULL);
-
        smp_cross_call(mask, IPI_CPU_BACKTRACE);
 }