[PATCH kernel] powerpc/perf: Fix 32bit compile

Michael Ellerman patch-notifications at ellerman.id.au
Sun Apr 24 22:15:23 AEST 2022


On Thu, 21 Apr 2022 12:57:56 +1000, Alexey Kardashevskiy wrote:
> The "read_bhrb" global symbol is only called under CONFIG_PPC64 of
> arch/powerpc/perf/core-book3s.c but it is compiled for both 32 and 64 bit
> anyway (and LLVM fails to link this on 32bit).
> 
> This fixes it by moving bhrb.o to obj64 targets.
> 
> 
> [...]

Applied to powerpc/fixes.

[1/1] powerpc/perf: Fix 32bit compile
      https://git.kernel.org/powerpc/c/bb82c574691daf8f7fa9a160264d15c5804cb769

cheers


More information about the Linuxppc-dev mailing list