aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2017-08-14 23:02:01 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-08-14 23:02:01 +0000
commit08918e640484b9e095c1178f6ac2118cb53a8330 (patch)
tree7b414eb4956dc094dfd1b1011eb196bd84f78605
parent331f1f60b19afa06e864c9531e443a2f9f6ee0e4 (diff)
parent3f12eb6d6e8f25cb7fdda4567de4ae81476dd030 (diff)
downloadv4.4-08918e640484b9e095c1178f6ac2118cb53a8330.tar.gz
UPSTREAM: printk: when dumping regs, show the stack, not thread_info am: 242f841e54
am: 3f12eb6d6e Change-Id: Ia26f4e2ccb0e255f69311599222e8145b287e00a
-rw-r--r--kernel/printk/printk.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index 1a698158face..b4573b55b435 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -3176,9 +3176,8 @@ void show_regs_print_info(const char *log_lvl)
{
dump_stack_print_info(log_lvl);
- printk("%stask: %p ti: %p task.ti: %p\n",
- log_lvl, current, current_thread_info(),
- task_thread_info(current));
+ printk("%stask: %p task.stack: %p\n",
+ log_lvl, current, task_stack_page(current));
}
#endif