summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2019-11-22 12:08:44 +0100
committerVasily Gorbik <gor@linux.ibm.com>2019-11-30 10:52:44 +0100
commitc2e06e15ad92bad94b54df257c683f7e715238a1 (patch)
tree50c6acbe52118aecdc3e9197e13363a799776f41 /arch
parent5a5525b0488ce31e19065f8527dbf50266b5b712 (diff)
downloadlinux-c2e06e15ad92bad94b54df257c683f7e715238a1.tar.bz2
s390: always inline disabled_wait
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/include/asm/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h
index 881fc37c11c6..361ef5eda468 100644
--- 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;