projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a5525b
)
s390: always inline disabled_wait
author
Vasily Gorbik
<gor@linux.ibm.com>
Fri, 22 Nov 2019 11:08:44 +0000
(12:08 +0100)
committer
Vasily Gorbik
<gor@linux.ibm.com>
Sat, 30 Nov 2019 09:52:44 +0000
(10:52 +0100)
disabled_wait uses _THIS_IP_ and assumes that compiler would inline it.
Make sure this assumption is always correct by utilizing __always_inline.
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/processor.h
patch
|
blob
|
history
diff --git
a/arch/s390/include/asm/processor.h
b/arch/s390/include/asm/processor.h
index 881fc37c11c6bf97b7491fed019b9ec42d7901dd..361ef5eda46895270f781407cbd684dd5eb1ac1e 100644
(file)
--- a/
arch/s390/include/asm/processor.h
+++ b/
arch/s390/include/asm/processor.h
@@
-310,7
+310,7
@@
void enabled_wait(void);
/*
* Function to drop a processor into disabled wait state
*/
-static inline void __noreturn disabled_wait(void)
+static
__always_
inline void __noreturn disabled_wait(void)
{
psw_t psw;