On Fri, 14 Jan 2022 08:43:55 +0530, Athira Rajeev wrote:
power_pmu_wants_prompt_pmi is used to decide if PMI should
be taken prompt. This is valid only for ppc64 and is used
in CONFIG_PPC_BOOK3S_64 context. Hence include the function
under config check for PPC64
Fixes warning for 32-bit compilation:
[...]
Applied to powerpc/fixes.
[1/1] powerpc/perf: Fix power_pmu_wants_prompt_pmi to be defined only for CONFIG_PPC64
https://git.kernel.org/powerpc/c/429a64f6e91fbfe4912d17247c27d0d66767b1c2
cheers