summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-12-17 21:34:13 (GMT)
committerIngo Molnar <mingo@elte.hu>2008-12-18 12:03:09 (GMT)
commit3d9101e92529e1ff6014f95a69afc82f37b9b13a (patch)
tree5147a9331a9a98d0ab073258d489aa0b052e524b /arch/powerpc/lib
parent55dac3a5553b13891f0ae4bbd11920619b5436d4 (diff)
downloadlinux-3d9101e92529e1ff6014f95a69afc82f37b9b13a.tar.xz
trace: fix task state printout
Impact: fix occasionally incorrect trace output The tracing code has interesting varieties of printing out task state. Unfortunalely only one of the instances is correct as it copies the code from sched.c:sched_show_task(). The others are plain wrong as they treatthe bitfield as an integer offset into the character array. Also the size check of the character array is wrong as it includes the trailing \0. Use a common state decoder inline which does the Right Thing. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/powerpc/lib')
0 files changed, 0 insertions, 0 deletions