diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2019-10-30 16:55:56 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2019-10-31 17:20:54 +0100 |
commit | 265f79dcb5702aeffcd9453c8cbb5fb707652323 (patch) | |
tree | 64263718140a3727c9599d4b0b42ee23f6a0b1ef /arch/s390/include/asm | |
parent | 2416cefc504ba8ae9b17e3e6b40afc72708f96be (diff) | |
download | linux-265f79dcb5702aeffcd9453c8cbb5fb707652323.tar.bz2 |
s390: always inline current_stack_pointer()
This function must be inlined since any caller expects the current
stack pointer; which wouldn't be true if the function isn't inlined.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm')
-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 51a0e4a2dc96..881fc37c11c6 100644 --- a/arch/s390/include/asm/processor.h +++ b/arch/s390/include/asm/processor.h @@ -206,7 +206,7 @@ unsigned long get_wchan(struct task_struct *p); /* Has task runtime instrumentation enabled ? */ #define is_ri_task(tsk) (!!(tsk)->thread.ri_cb) -static inline unsigned long current_stack_pointer(void) +static __always_inline unsigned long current_stack_pointer(void) { unsigned long sp; |