Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Masahiro Yamada and committed by
Paul Burton
6074c33c a188339c

+1 -1
+1 -1
arch/mips/include/asm/ginvt.h
··· 19 19 # define _ASM_SET_GINV 20 20 #endif 21 21 22 - static inline void ginvt(unsigned long addr, enum ginvt_type type) 22 + static __always_inline void ginvt(unsigned long addr, enum ginvt_type type) 23 23 { 24 24 asm volatile( 25 25 ".set push\n"