summaryrefslogtreecommitdiff
path: root/kernel/sched_debug.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-10-15 17:00:08 +0200
committerIngo Molnar <mingo@elte.hu>2007-10-15 17:00:08 +0200
commit1a75b94f7bda591f4c53af86baa50e1eaee35927 (patch)
treeb2858ad3002e05e74e224a0764059222313a7ef6 /kernel/sched_debug.c
parentf6b53205e17c8ca481c69ed579a35a650a4b481a (diff)
downloadlwn-1a75b94f7bda591f4c53af86baa50e1eaee35927.tar.gz
lwn-1a75b94f7bda591f4c53af86baa50e1eaee35927.zip
sched: prettify /proc/sched_debug output
print the correct amount of dashes in /proc/sched_debug. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/sched_debug.c')
-rw-r--r--kernel/sched_debug.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index bb34b8188f61..22cf74c1dc03 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -60,10 +60,8 @@ static void print_rq(struct seq_file *m, struct rq *rq, int rq_cpu)
"\nrunnable tasks:\n"
" task PID tree-key switches prio"
" exec-runtime sum-exec sum-sleep\n"
- "------------------------------------------------------------------"
- "--------------------------------"
- "------------------------------------------------"
- "--------------------------------\n");
+ "------------------------------------------------------"
+ "------------------------------------------------");
read_lock_irq(&tasklist_lock);