Commit 6ff0a730 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Greg Kroah-Hartman

MIPS: mark ginvt() as __always_inline

[ Upstream commit 6074c33c ]

To meet the 'i' (immediate) constraint for the asm operands,
this function must be always inlined.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarPaul 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
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b131e9d1
...@@ -19,7 +19,7 @@ _ASM_MACRO_1R1I(ginvt, rs, type, ...@@ -19,7 +19,7 @@ _ASM_MACRO_1R1I(ginvt, rs, type,
# define _ASM_SET_GINV # define _ASM_SET_GINV
#endif #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( asm volatile(
".set push\n" ".set push\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment