OpenCloudOS-Kernel/kernel/printk
Andy Lutomirski 8b70ca6561 printk: when dumping regs, show the stack, not thread_info
We currently show:

  task: <current> ti: <current_thread_info()> task.ti: <task_thread_info(current)>"

"ti" and "task.ti" are redundant, and neither is actually what we want
to show, which the the base of the thread stack.  Change the display to
show the stack pointer explicitly.

Link: http://lkml.kernel.org/r/543ac5bd66ff94000a57a02e11af7239571a3055.1468523549.git.luto@kernel.org
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-07-28 16:07:41 -07:00
..
Makefile printk/nmi: generic solution for safe printk in NMI 2016-05-20 17:58:30 -07:00
braille.c printk: Fix return of braille_register_console() 2013-08-06 13:18:12 -07:00
braille.h printk: move braille console support into separate braille.[ch] files 2013-07-31 14:41:03 -07:00
console_cmdline.h console: Fix console name size mismatch 2015-03-07 03:39:55 +01:00
internal.h printk/nmi: flush NMI messages on the system panic 2016-05-20 17:58:30 -07:00
nmi.c printk/nmi: flush NMI messages on the system panic 2016-05-20 17:58:30 -07:00
printk.c printk: when dumping regs, show the stack, not thread_info 2016-07-28 16:07:41 -07:00