linux/arch/powerpc
Michael Ellerman 6caecacc92 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: f01dbd73cc ("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>
2024-03-07 00:13:28 +11:00
..
boot powerpc/boot: Only free if realloc() succeeds 2024-03-03 22:20:29 +11:00
configs powerpc: Add allmodconfig for all 32-bit sub-arches 2024-03-03 22:20:29 +11:00
crypto crypto: p10-aes-gcm - Avoid -Wstringop-overflow warnings 2023-12-01 18:03:26 +08:00
include powerpc/fsl: Fix mfpmr() asm constraint error 2024-03-07 00:13:28 +11:00
kernel powerpc/irq: Allow softirq to hardirq stack transition 2024-03-03 22:20:29 +11:00
kexec powerpc: Stop using of_root 2024-03-03 22:20:29 +11:00
kvm powerpc: Add Power11 architected and raw mode 2024-02-21 23:11:00 +11:00
lib powerpc/64s: Move dcbt/dcbtst sequence into a macro 2024-03-03 23:05:21 +11:00
math-emu powerpc/math-emu: Inhibit W=1 warnings 2022-09-08 11:11:18 +10:00
mm powerpc/mm: Code cleanup for __hash_page_thp 2024-03-03 23:05:21 +11:00
net powerpc/bpf: use bpf_jit_binary_pack_[alloc|finalize|free] 2023-10-23 20:33:19 +11:00
perf powerpc/hv-gpci: Fix the H_GET_PERF_COUNTER_INFO hcall return value checks 2024-03-03 23:05:21 +11:00
platforms powerpc: Stop using of_root 2024-03-03 22:20:29 +11:00
purgatory powerpc/purgatory: remove PGO flags 2023-06-12 11:31:50 -07:00
sysdev powerpc: pmi: Convert to platform remove callback returning void 2024-02-22 21:55:33 +11:00
tools powerpc/tools: Pass -mabi=elfv2 to gcc-check-mprofile-kernel.sh 2023-10-20 17:46:33 +11:00
xmon powerpc: Use user_mode() macro when possible 2024-02-22 21:55:33 +11:00
Kbuild
Kconfig powerpc fixes for 6.8 #2 2024-01-21 11:04:29 -08:00
Kconfig.debug powerpc/ps3: move udbg_shutdown_ps3gelic prototype 2023-11-21 12:06:50 +11:00
Makefile powerpc: Remove cpu-as-y completely 2024-03-03 23:05:21 +11:00
Makefile.postlink kbuild: remove ARCH_POSTLINK from module builds 2023-10-28 21:10:08 +09:00