# 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 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: 2 bad relocations c0000000019e1380 R_PPC64_ADDR64 _binary__btf_vmlinux_bin_start c0000000019e1388 R_PPC64_ADDR64 _binary__btf_vmlinux_bin_end Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc64_defconfig_powerpc-gcc5 # Build took: 0:04:05.839352