# 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-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 4ecaacc7563a0d17792353e63ddd6c010e900402 # < make -s -j 24 ARCH=x86 O=/kisskb/build/powerpc-fixes_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- x86_64_defconfig # make -s -j 24 ARCH=x86 O=/kisskb/build/powerpc-fixes_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- /kisskb/src/tools/objtool In file included from /kisskb/src/drivers/net/phy/mdio_bus.c:23: /kisskb/src/include/linux/of_mdio.h:58:13: warning: 'of_mdiobus_child_is_phy' defined but not used [-Wunused-function] static bool of_mdiobus_child_is_phy(struct device_node *child) ^~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/powerpc-fixes_x86_64_defconfig_x86_64-gcc8 # Build took: 0:02:51.696227