[PATCH] powerpc/shared: include correct header for static key
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Jan 6 16:23:23 AEDT 2020
On Mon, 2019-12-23 at 13:31:47 UTC, "Jason A. Donenfeld" wrote:
> Recently, the spinlock implementation grew a static key optimization,
> but the jump_label.h header include was left out, leading to build
> errors:
>
> linux/arch/powerpc/include/asm/spinlock.h:44:7: error: implicit declaration of function âstatic_branch_unlikelyâ [-Werror=implicit-function-declaration]
> 44 | if (!static_branch_unlikely(&shared_processor))
>
> This commit adds the missing header.
>
> Fixes: 656c21d6af5d ("powerpc/shared: Use static key to detect shared processor")
> Cc: Srikar Dronamraju <srikar at linux.vnet.ibm.com>
> Signed-off-by: Jason A. Donenfeld <Jason at zx2c4.com>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/6da3eced8c5f3b03340b0c395bacd552c4d52411
cheers
More information about the Linuxppc-dev
mailing list