diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-05-21 08:20:39 +0200 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-05-23 03:45:52 +0200 |
commit | 6074c33c6b2eabc70867ef76d57ca256e9ea9da7 (patch) | |
tree | 029d02fa3d2dc4efe5ef9aa992201db8a0fe0829 | |
parent | Linux 5.2-rc1 (diff) | |
download | linux-6074c33c6b2eabc70867ef76d57ca256e9ea9da7.tar.xz linux-6074c33c6b2eabc70867ef76d57ca256e9ea9da7.zip |
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 <yamada.masahiro@socionext.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-kernel@vger.kernel.org
-rw-r--r-- | arch/mips/include/asm/ginvt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/ginvt.h b/arch/mips/include/asm/ginvt.h index 49c6dbe37338..6eb7c2b94dc7 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" |