# git rev-parse -q --verify 6da3eced8c5f3b03340b0c395bacd552c4d52411^{commit} 6da3eced8c5f3b03340b0c395bacd552c4d52411 already have revision, skipping fetch # git checkout -q -f -B kisskb 6da3eced8c5f3b03340b0c395bacd552c4d52411 # git clean -qxdf # < git log -1 # commit 6da3eced8c5f3b03340b0c395bacd552c4d52411 # 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 # Reviewed-by: Srikar Dronamraju # 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 6da3eced8c5f3b03340b0c395bacd552c4d52411 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_40x_obs600_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 40x/obs600_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_40x_obs600_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/head_40x.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_40x.S:802: Warning: invalid register expression INFO: Uncompressed kernel (size 0x4f4388) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.5.0-rc3-g6da3eced8c5f Created: Mon Dec 30 22:47:24 2019 Image Type: PowerPC Linux Multi-File Image (gzip compressed) Data Size: 2544410 Bytes = 2484.78 KiB = 2.43 MiB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 2537523 Bytes = 2478.05 KiB = 2.42 MiB Image 1: 2 Bytes = 0.00 KiB = 0.00 MiB Image 2: 6866 Bytes = 6.71 KiB = 0.01 MiB Completed OK # rm -rf /kisskb/build/powerpc-fixes_40x_obs600_defconfig_powerpc-gcc5 # Build took: 0:00:36.716019