powerpc/perf: Fix 32bit compile
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Thu, 21 Apr 2022 02:57:56 +0000 (12:57 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Apr 2022 13:26:47 +0000 (23:26 +1000)
commitbb82c574691daf8f7fa9a160264d15c5804cb769
treed2469acede7f4c701f740873d37a80fa6ea2ffeb
parentc6cc9a852f123301d5271f1484df8e961b2b64f1
powerpc/perf: Fix 32bit compile

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.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220421025756.571995-1-aik@ozlabs.ru
arch/powerpc/perf/Makefile