diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-12-23 14:31:47 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-12-30 11:20:41 +0100 |
commit | 6da3eced8c5f3b03340b0c395bacd552c4d52411 (patch) | |
tree | 034aa026e6e797d9d94c05b3bb5a55b62dc45c27 /arch/powerpc/sysdev | |
parent | powerpc/mm: Mark get_slice_psize() & slice_addr_is_low() as notrace (diff) | |
download | linux-6da3eced8c5f3b03340b0c395bacd552c4d52411.tar.xz linux-6da3eced8c5f3b03340b0c395bacd552c4d52411.zip |
powerpc/spinlocks: Include correct header for static key
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’
44 | if (!static_branch_unlikely(&shared_processor))
This commit adds the missing header.
mpe: The build break is only seen with CONFIG_JUMP_LABEL=n.
Fixes: 656c21d6af5d ("powerpc/shared: Use static key to detect shared processor")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Srikar Dronamraju <srikar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191223133147.129983-1-Jason@zx2c4.com
Diffstat (limited to 'arch/powerpc/sysdev')
0 files changed, 0 insertions, 0 deletions