dmaengine: at_hdmac: Start transfer for cyclic channels in issue_pending
[platform/kernel/linux-rpi.git] / drivers / tty / sysrq.c
index c911196..6b445ec 100644 (file)
@@ -232,8 +232,10 @@ static void showacpu(void *dummy)
        unsigned long flags;
 
        /* Idle CPUs have no interesting backtrace. */
-       if (idle_cpu(smp_processor_id()))
+       if (idle_cpu(smp_processor_id())) {
+               pr_info("CPU%d: backtrace skipped as idling\n", smp_processor_id());
                return;
+       }
 
        raw_spin_lock_irqsave(&show_lock, flags);
        pr_info("CPU%d:\n", smp_processor_id());
@@ -260,10 +262,13 @@ static void sysrq_handle_showallcpus(int key)
 
                if (in_hardirq())
                        regs = get_irq_regs();
-               if (regs) {
-                       pr_info("CPU%d:\n", smp_processor_id());
+
+               pr_info("CPU%d:\n", smp_processor_id());
+               if (regs)
                        show_regs(regs);
-               }
+               else
+                       show_stack(NULL, NULL, KERN_INFO);
+
                schedule_work(&sysrq_showallcpus);
        }
 }