getrusage: RUSAGE_THREAD should return ru_utime and ru_stime
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Sat, 3 Jan 2009 20:40:37 +0000 (05:40 +0900)
committerIngo Molnar <mingo@elte.hu>
Sun, 4 Jan 2009 13:04:00 +0000 (14:04 +0100)
Impact: task stats regression fix

Original getrusage(RUSAGE_THREAD) implementation can return ru_utime and
ru_stime. But commit "f06febc: timers: fix itimer/many thread hang" broke it.

this patch restores it.

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sys.c

diff --cc kernel/sys.c
Simple merge