diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2019-11-22 14:08:44 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2019-11-30 12:52:44 +0300 |
commit | c2e06e15ad92bad94b54df257c683f7e715238a1 (patch) | |
tree | 50c6acbe52118aecdc3e9197e13363a799776f41 /arch/s390 | |
parent | 5a5525b0488ce31e19065f8527dbf50266b5b712 (diff) | |
download | linux-c2e06e15ad92bad94b54df257c683f7e715238a1.tar.xz |
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/s390')
-rw-r--r-- | arch/s390/include/asm/processor.h | 2 |
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; |