Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0dea733 authored by Heiko Carstens's avatar Heiko Carstens Committed by Vasily Gorbik
Browse files

KVM: s390: mark __insn32_query() as __always_inline



__insn32_query() will not compile if the compiler decides to not
inline it, since it contains an inline assembly with an "i" constraint
with variable contents.

Acked-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent b1c41ac3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -332,7 +332,7 @@ static inline int plo_test_bit(unsigned char nr)
	return cc == 0;
}

static inline void __insn32_query(unsigned int opcode, u8 *query)
static __always_inline void __insn32_query(unsigned int opcode, u8 *query)
{
	register unsigned long r0 asm("0") = 0;	/* query function */
	register unsigned long r1 asm("1") = (unsigned long) query;