From: Heiko Carstens Date: Wed, 30 Oct 2019 15:55:56 +0000 (+0100) Subject: s390: always inline current_stack_pointer() X-Git-Tag: v5.15~5106^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=265f79dcb5702aeffcd9453c8cbb5fb707652323;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Vasily Gorbik --- 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;