mirror of
https://github.com/raspberrypi/linux.git
synced 2026-01-04 18:27:36 +00:00
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
This commit is contained in:
committed by
Paul Burton
parent
a188339ca5
commit
6074c33c6b
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user