# git rev-parse -q --verify 94ede2a3e9135764736221c080ac7c0ad993dc2d^{commit} 94ede2a3e9135764736221c080ac7c0ad993dc2d already have revision, skipping fetch # git checkout -q -f -B kisskb 94ede2a3e9135764736221c080ac7c0ad993dc2d # git clean -qxdf # < git log -1 # commit 94ede2a3e9135764736221c080ac7c0ad993dc2d # Author: Linus Torvalds # Date: Mon Jul 29 16:34:17 2024 -0700 # # profiling: remove stale percpu flip buffer variables # # For some reason I didn't see this issue on my arm64 or x86-64 builds, # but Stephen Rothwell reports that commit 2accfdb7eff6 ("profiling: # attempt to remove per-cpu profile flip buffer") left these static # variables around, and the powerpc build is unhappy about them: # # kernel/profile.c:52:28: warning: 'cpu_profile_flip' defined but not used [-Wunused-variable] # 52 | static DEFINE_PER_CPU(int, cpu_profile_flip); # | ^~~~~~~~~~~~~~~~ # .. # # So remove these stale left-over remnants too. # # Fixes: 2accfdb7eff6 ("profiling: attempt to remove per-cpu profile flip buffer") # Reported-by: Stephen Rothwell # Signed-off-by: Linus Torvalds # < /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 94ede2a3e9135764736221c080ac7c0ad993dc2d # make -s -j 40 ARCH=powerpc O=/kisskb/build/linus_ppc40x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc40x_defconfig *** *** Can't find default configuration "arch/powerpc/configs/ppc40x_defconfig"! *** make[3]: *** [/kisskb/src/scripts/kconfig/Makefile:102: ppc40x_defconfig] Error 1 make[2]: *** [/kisskb/src/Makefile:680: ppc40x_defconfig] Error 2 make[1]: *** [/kisskb/src/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 Command 'make -s -j 40 ARCH=powerpc O=/kisskb/build/linus_ppc40x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc40x_defconfig' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_ppc40x_defconfig_powerpc-gcc5 # Build took: 0:00:03.066690