diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-23 04:20:15 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-23 04:20:15 -0500 |
commit | bfe2a3c3b5bf479788d5d5c5561346be6b169043 (patch) | |
tree | 652c987279db7cd841d556f7bb1a589b57fbd6cc /kernel/sched.c | |
parent | 77835492ed489c0b870f82f4c50687bd267acc0a (diff) | |
parent | 35d266a24796f02f63299cfe5009dfc0d5a0e820 (diff) |
Merge branch 'core/percpu' into perfcounters/core
Conflicts:
arch/x86/include/asm/hardirq_32.h
arch/x86/include/asm/hardirq_64.h
Semantic merge:
arch/x86/include/asm/hardirq.h
[ added apic_perf_irqs field. ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 40d70d9c0af3..8db1a4cf2082 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -6009,12 +6009,7 @@ void sched_show_task(struct task_struct *p) | |||
6009 | printk(KERN_CONT " %016lx ", thread_saved_pc(p)); | 6009 | printk(KERN_CONT " %016lx ", thread_saved_pc(p)); |
6010 | #endif | 6010 | #endif |
6011 | #ifdef CONFIG_DEBUG_STACK_USAGE | 6011 | #ifdef CONFIG_DEBUG_STACK_USAGE |
6012 | { | 6012 | free = stack_not_used(p); |
6013 | unsigned long *n = end_of_stack(p); | ||
6014 | while (!*n) | ||
6015 | n++; | ||
6016 | free = (unsigned long)n - (unsigned long)end_of_stack(p); | ||
6017 | } | ||
6018 | #endif | 6013 | #endif |
6019 | printk(KERN_CONT "%5lu %5d %6d\n", free, | 6014 | printk(KERN_CONT "%5lu %5d %6d\n", free, |
6020 | task_pid_nr(p), task_pid_nr(p->real_parent)); | 6015 | task_pid_nr(p), task_pid_nr(p->real_parent)); |