# 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/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 94ede2a3e9135764736221c080ac7c0ad993dc2d # make -s -j 32 ARCH=sparc O=/kisskb/build/linus_allnoconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- allnoconfig # < make -s -j 32 ARCH=sparc O=/kisskb/build/linus_allnoconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 32 ARCH=sparc O=/kisskb/build/linus_allnoconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 32 ARCH=sparc O=/kisskb/build/linus_allnoconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-stringop-overflow' /kisskb/src/kernel/fork.c: In function '__do_sys_clone3': /kisskb/src/kernel/fork.c:3072:2: warning: #warning clone3() entry point is missing, please fix [-Wcpp] #warning clone3() entry point is missing, please fix ^ /kisskb/src/kernel/fork.c: At top level: cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-stringop-overflow' Completed OK # rm -rf /kisskb/build/linus_allnoconfig_sparc64-gcc5 # Build took: 0:00:16.896318