Skip to content

Commit 44967bf

Browse files
heicarstVasily Gorbik
authored andcommitted
s390/cpu_mf: mark function(s) __always_inline
Always inline asm inlines with variable operands for "i" constraints, since they won't compile if the compiler would decide to not inline them. Reported-by: Michal Kubecek <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
1 parent b4fd5a0 commit 44967bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/s390/include/asm/cpu_mf.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@ enum stcctm_ctr_set {
223223
MT_DIAG = 5,
224224
MT_DIAG_CLEARING = 9, /* clears loss-of-MT-ctr-data alert */
225225
};
226-
static inline int stcctm(enum stcctm_ctr_set set, u64 range, u64 *dest)
226+
227+
static __always_inline int stcctm(enum stcctm_ctr_set set, u64 range, u64 *dest)
227228
{
228229
int cc;
229230

0 commit comments

Comments
 (0)