summaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2024-03-06 16:08:30 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2024-03-06 16:13:28 +0300
commit6caecacc92b9170fa3dd2e5a3b17eaf13cf30065 (patch)
tree1833b50ff5b389044c778c54cf6102794fae8890 /rust/helpers.c
parentca3d3aa14e7673f1b15e862b71998a4664d50ebe (diff)
downloadlinux-6caecacc92b9170fa3dd2e5a3b17eaf13cf30065.tar.xz
powerpc/fsl: Fix mfpmr() asm constraint error
mfpmr() needs to be marked always inline, otherwise the compiler will complain that the rn argument can't be passed to the asm block as an integer: arch/powerpc/include/asm/reg_fsl_emb.h:18:9: warning: 'asm' operand 1 probably does not match constraints 18 | asm (".machine push; " | ^~~ arch/powerpc/include/asm/reg_fsl_emb.h:18:9: error: impossible constraint in 'asm' Mark mtpmr() always inline also to avoid any future problems with it. Fixes: f01dbd73ccf1 ("powerpc/fsl: Modernise mt/mfpmr") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202403051835.iqLGz996-lkp@intel.com/ Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions