]> git.baikalelectronics.ru Git - kernel.git/commit
printk: when dumping regs, show the stack, not thread_info
authorAndy Lutomirski <luto@kernel.org>
Thu, 28 Jul 2016 22:48:23 +0000 (15:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Jul 2016 23:07:41 +0000 (16:07 -0700)
commit0d6ffeba7f1b98cdb1f6c9b419acb3db4f4c4477
treef250a97877486be3f45035bfb270d9706ac81cd9
parent965bb5cd81cd64c409dc96ff54416a6c8ebab2f4
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>
kernel/printk/printk.c