printk: when dumping regs, show the stack, not thread_info
[cascardo/linux.git] / kernel / printk / printk.c
index 60cdf63..d4de339 100644 (file)
@@ -3177,9 +3177,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