diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-09-11 11:24:22 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-09-28 07:29:39 +0200 |
commit | 8076428f0c9f24d90270204fd39ccb11b83db71d (patch) | |
tree | 44544615f2c4e2fb105a52126e32a36dbf86f425 /arch/s390/kernel/process.c | |
parent | 9cd6681cb1169e815c41af0265165dd1b872f228 (diff) | |
download | linux-8076428f0c9f24d90270204fd39ccb11b83db71d.tar.bz2 |
s390: convert release_thread() into a static inline function
release_thread() is an empty function that gets called on every task
exit. Move the function to a header file and force inlining of it, so
that the compiler can optimize it away instead of generating a
pointless function call.
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/process.c')
-rw-r--r-- | arch/s390/kernel/process.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/s390/kernel/process.c b/arch/s390/kernel/process.c index bb32b8618bf6..8cd311fc432a 100644 --- a/arch/s390/kernel/process.c +++ b/arch/s390/kernel/process.c @@ -58,10 +58,6 @@ void flush_thread(void) { } -void release_thread(struct task_struct *dead_task) -{ -} - void arch_release_task_struct(struct task_struct *tsk) { } |