s390/runtime instrumentation: simplify task exit handling
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 11 Sep 2017 09:24:22 +0000 (11:24 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 28 Sep 2017 05:29:39 +0000 (07:29 +0200)
commit8d9047f8b967ce6181fd824ae922978e1b055cc0
treeb63c9046e165224dd3ca9002260ea84a798ca021
parentd6e646ad7cfa7034d280459b2b2546288f247144
s390/runtime instrumentation: simplify task exit handling

Free data structures required for runtime instrumentation from
arch_release_task_struct(). This allows to simplify the code a bit,
and also makes the semantics a bit easier: arch_release_task_struct()
is never called from the task that is being removed.

In addition this allows to get rid of exit_thread() in a later patch.

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