dump_stack: unify debug information printed by show_regs()
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / unicore32 / kernel / process.c
index 7fab86d7c5d4aa9135cd5d6cffc08f97349fef3c..c9447691bdac9a72563803a6f0816e415c14e4d6 100644 (file)
@@ -144,11 +144,7 @@ void __show_regs(struct pt_regs *regs)
        unsigned long flags;
        char buf[64];
 
-       printk(KERN_DEFAULT "CPU: %d    %s  (%s %.*s)\n",
-               raw_smp_processor_id(), print_tainted(),
-               init_utsname()->release,
-               (int)strcspn(init_utsname()->version, " "),
-               init_utsname()->version);
+       show_regs_print_info(KERN_DEFAULT);
        print_symbol("PC is at %s\n", instruction_pointer(regs));
        print_symbol("LR is at %s\n", regs->UCreg_lr);
        printk(KERN_DEFAULT "pc : [<%08lx>]    lr : [<%08lx>]    psr: %08lx\n"