aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index fff1c4a20b65..c731dd820d1a 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -5805,12 +5805,7 @@ void sched_show_task(struct task_struct *p)
5805 printk(KERN_CONT " %016lx ", thread_saved_pc(p)); 5805 printk(KERN_CONT " %016lx ", thread_saved_pc(p));
5806#endif 5806#endif
5807#ifdef CONFIG_DEBUG_STACK_USAGE 5807#ifdef CONFIG_DEBUG_STACK_USAGE
5808 { 5808 free = stack_not_used(p);
5809 unsigned long *n = end_of_stack(p);
5810 while (!*n)
5811 n++;
5812 free = (unsigned long)n - (unsigned long)end_of_stack(p);
5813 }
5814#endif 5809#endif
5815 printk(KERN_CONT "%5lu %5d %6d\n", free, 5810 printk(KERN_CONT "%5lu %5d %6d\n", free,
5816 task_pid_nr(p), task_pid_nr(p->real_parent)); 5811 task_pid_nr(p), task_pid_nr(p->real_parent));