s390/guarded storage: simplify task exit handling
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 11 Sep 2017 09:24:23 +0000 (11:24 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 28 Sep 2017 05:29:40 +0000 (07:29 +0200)
commit7b83c6297d2fc7350997e86188df84c27fd59530
treea9a849d6ab1195c06053ad215e50e9cb3dce9d8d
parent5ef2d5231d547c672c67bdf84c13a4adaf477964
s390/guarded storage: simplify task exit handling

Free data structures required for guarded storage 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/processor.h
arch/s390/kernel/guarded_storage.c
arch/s390/kernel/process.c