# git rev-parse -q --verify 34daf445f82bd3a4df852bb5f1dffd792ac830a0^{commit} 34daf445f82bd3a4df852bb5f1dffd792ac830a0 already have revision, skipping fetch # git checkout -q -f -B kisskb 34daf445f82bd3a4df852bb5f1dffd792ac830a0 # git clean -qxdf # < git log -1 # commit 34daf445f82bd3a4df852bb5f1dffd792ac830a0 # Author: Christophe Leroy # Date: Fri Aug 18 10:59:44 2023 +0200 # # powerpc/perf: Convert fsl_emb notifier to state machine callbacks # # CC arch/powerpc/perf/core-fsl-emb.o # arch/powerpc/perf/core-fsl-emb.c:675:6: error: no previous prototype for 'hw_perf_event_setup' [-Werror=missing-prototypes] # 675 | void hw_perf_event_setup(int cpu) # | ^~~~~~~~~~~~~~~~~~~ # # Looks like fsl_emb was completely missed by commit 3f6da3905398 ("perf: # Rework and fix the arch CPU-hotplug hooks") # # So, apply same changes as commit 3f6da3905398 ("perf: Rework and fix # the arch CPU-hotplug hooks") then commit 57ecde42cc74 ("powerpc/perf: # Convert book3s notifier to state machine callbacks") # # While at it, also fix following error: # # arch/powerpc/perf/core-fsl-emb.c: In function 'perf_event_interrupt': # arch/powerpc/perf/core-fsl-emb.c:648:13: error: variable 'found' set but not used [-Werror=unused-but-set-variable] # 648 | int found = 0; # | ^~~~~ # # Fixes: 3f6da3905398 ("perf: Rework and fix the arch CPU-hotplug hooks") # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://msgid.link/603e1facb32608f88f40b7d7b9094adc50e7b2dc.1692349125.git.christophe.leroy@csgroup.eu # < /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 34daf445f82bd3a4df852bb5f1dffd792ac830a0 # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_redwood_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/redwood_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_redwood_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_redwood_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_redwood_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_44x_redwood_defconfig_powerpc-gcc5 # Build took: 0:00:40.734676