]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3e9536e6fe64a42128524bfeff6378aa8cc7f4f
tree8b5b5fc3514df3edf8bf6436636bf813c1f51e8c
parent8b17b02cfe298bb8816c3e7b4c3c5be226a5e3b3
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