# git rev-parse -q --verify 4ecaacc7563a0d17792353e63ddd6c010e900402^{commit} 4ecaacc7563a0d17792353e63ddd6c010e900402 already have revision, skipping fetch # git checkout -q -f -B kisskb 4ecaacc7563a0d17792353e63ddd6c010e900402 # git clean -qxdf # < git log -1 # commit 4ecaacc7563a0d17792353e63ddd6c010e900402 # Author: Jason A. Donenfeld # Date: Mon Dec 23 14:31:47 2019 +0100 # # 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 # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20191223133147.129983-1-Jason@zx2c4.com # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 4ecaacc7563a0d17792353e63ddd6c010e900402 # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_le_defconfig_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_le_defconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_le_defconfig_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: vmlinux.o(.text+0x31dc): Section mismatch in reference from the variable __boot_from_prom to the function .init.text:prom_init() The function __boot_from_prom() references the function __init prom_init(). This is often because __boot_from_prom lacks a __init annotation or the annotation of prom_init is wrong. WARNING: vmlinux.o(.text+0x33c8): Section mismatch in reference from the variable start_here_common to the function .init.text:start_kernel() The function start_here_common() references the function __init start_kernel(). This is often because start_here_common lacks a __init annotation or the annotation of start_kernel is wrong. Completed OK # rm -rf /kisskb/build/powerpc-fixes_pseries_le_defconfig_ppc64le-gcc5 # Build took: 0:04:08.473416