Re: [PATCH] powerpc: Fix build error in paravirt.h
From: Michael Ellerman
Date: Wed Feb 03 2021 - 06:41:53 EST
On Wed, 20 Jan 2021 14:28:38 +0100, Michal Suchanek wrote:
> ./arch/powerpc/include/asm/paravirt.h:83:44: error: implicit declaration
> of function 'smp_processor_id'; did you mean 'raw_smp_processor_id'?
>
> smp_processor_id is defined in linux/smp.h but it is not included.
>
> The build error happens only when the patch is applied to 5.3 kernel but
> it only works by chance in mainline.
Applied to powerpc/next.
[1/1] powerpc: Fix build error in paravirt.h
https://git.kernel.org/powerpc/c/9899a56f1eca964cd0de21008a9fa1523a571231
cheers