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 cfa222a91539..a964ed945094 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -5748,12 +5748,7 @@ void sched_show_task(struct task_struct *p)
5748 printk(KERN_CONT " %016lx ", thread_saved_pc(p)); 5748 printk(KERN_CONT " %016lx ", thread_saved_pc(p));
5749#endif 5749#endif
5750#ifdef CONFIG_DEBUG_STACK_USAGE 5750#ifdef CONFIG_DEBUG_STACK_USAGE
5751 { 5751 free = stack_not_used(p);
5752 unsigned long *n = end_of_stack(p);
5753 while (!*n)
5754 n++;
5755 free = (unsigned long)n - (unsigned long)end_of_stack(p);
5756 }
5757#endif 5752#endif
5758 printk(KERN_CONT "%5lu %5d %6d\n", free, 5753 printk(KERN_CONT "%5lu %5d %6d\n", free,
5759 task_pid_nr(p), task_pid_nr(p->real_parent)); 5754 task_pid_nr(p), task_pid_nr(p->real_parent));