]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] sched: correct output of show_state()
authorChris Caputo <ccaputo@alt.net>
Thu, 7 Dec 2006 04:39:11 +0000 (20:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:42 +0000 (08:39 -0800)
commit7d1816fc20ef5522425c8dd322a88c0aa6bf49e7
treeaf2440b2361b190dd794479953a52d20bea50f89
parent1af7c5cff4c7c99ed5d56acf97348ec294c71c4c
[PATCH] sched: correct output of show_state()

At present show_state prints a header the does not match the output of
show_task, as follows:

-
                                               sibling
  task             PC      pid father child younger older
init          S 00000000     0     1      0     2               (NOTLB)
-

This patch corrects the output of show_state so that the header is
aligned with the data, ala:

-
                         free                        sibling
  task             PC    stack   pid father child younger older
init          S 00000000     0     1      0     2               (NOTLB)
-

Signed-off-by: Chris Caputo <ccaputo@alt.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sched.c