commit | 8076428f0c9f24d90270204fd39ccb11b83db71d | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Mon Sep 11 11:24:22 2017 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Sep 28 07:29:39 2017 +0200 |
tree | 44544615f2c4e2fb105a52126e32a36dbf86f425 | |
parent | 9cd6681cb1169e815c41af0265165dd1b872f228 [diff] |
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>