Skip to content

Commit

Permalink
MIPS: mark ginvt() as __always_inline
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Masahiro Yamada authored and Paul Burton committed May 23, 2019
1 parent a188339 commit 6074c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/include/asm/ginvt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6074c33

Please sign in to comment.