[S390] cputime: initialize per thread timer values on fork
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 26 Mar 2009 14:23:53 +0000 (15:23 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 Mar 2009 14:24:07 +0000 (15:24 +0100)
commit5168ce2c647f02756803bef7b74906f485491a1c
tree93858f54f791e94ddb95b74256c2cdb8cafe7b8c
parentcbdc229245e8cf5c201e68221ebf2f33d2aaf029
[S390] cputime: initialize per thread timer values on fork

Initialize per thread timer values instead of just copying them from
the parent. That way it is easily possible to tell how much time a
thread spent in user/system context.
Doesn't fix a bug, this is just for debugging purposes.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/process.c