[S390] ptrace: dont abuse PT_PTRACED
authorOleg Nesterov <oleg@redhat.com>
Fri, 18 Dec 2009 16:43:24 +0000 (17:43 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Fri, 18 Dec 2009 16:43:32 +0000 (17:43 +0100)
commitca633fd006486ed2c2d3b542283067aab61e6dc8
tree71ba9fbcf841f5a565185338ef677d6fb8cd89c8
parentd302e1a5dbe1677a495033a2d310656a55139cdf
[S390] ptrace: dont abuse PT_PTRACED

Nobody except ptrace itself should use task->ptrace or PT_PTRACED
directly, change arch/s390/kernel/traps.c to use the helper.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/traps.c