From: Masahiro Yamada Date: Tue, 21 May 2019 06:20:39 +0000 (+0900) Subject: MIPS: mark ginvt() as __always_inline X-Git-Tag: v5.4-rc1~819^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6074c33c6b2eabc70867ef76d57ca256e9ea9da7;p=platform%2Fkernel%2Flinux-rpi.git MIPS: mark ginvt() as __always_inline To meet the 'i' (immediate) constraint for the asm operands, this function must be always inlined. Signed-off-by: Masahiro Yamada Signed-off-by: Paul Burton Cc: linux-mips@vger.kernel.org Cc: Ralf Baechle Cc: James Hogan Cc: linux-kernel@vger.kernel.org --- diff --git a/arch/mips/include/asm/ginvt.h b/arch/mips/include/asm/ginvt.h index 49c6dbe..6eb7c2b 100644 --- a/arch/mips/include/asm/ginvt.h +++ b/arch/mips/include/asm/ginvt.h @@ -19,7 +19,7 @@ _ASM_MACRO_1R1I(ginvt, rs, type, # define _ASM_SET_GINV #endif -static inline void ginvt(unsigned long addr, enum ginvt_type type) +static __always_inline void ginvt(unsigned long addr, enum ginvt_type type) { asm volatile( ".set push\n"