procfs: fix /proc/<pid>/stat stack pointer for kernel threads
authorStefani Seibold <stefani@seibold.net>
Tue, 17 Nov 2009 22:06:23 +0000 (14:06 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 18 Nov 2009 01:40:33 +0000 (17:40 -0800)
commit9ebd4eba761b624a6a6c9189335adeddcb1fa0e0
tree8b5b5fc3514df3edf8bf6436636bf813c1f51e8c
parent6ad696d2cf535772dff659298ec7e7260e344595
procfs: fix /proc/<pid>/stat stack pointer for kernel threads

Fix a small issue for the stack pointer in /proc/<pid>/stat.  In case of a
kernel thread the value of the printed stack pointer should be 0.

Signed-off-by: Stefani Seibold <stefani@seibold.net>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/array.c