# git rev-parse -q --verify bb82c574691daf8f7fa9a160264d15c5804cb769^{commit} bb82c574691daf8f7fa9a160264d15c5804cb769 already have revision, skipping fetch # git checkout -q -f -B kisskb bb82c574691daf8f7fa9a160264d15c5804cb769 # git clean -qxdf # < git log -1 # commit bb82c574691daf8f7fa9a160264d15c5804cb769 # Author: Alexey Kardashevskiy # Date: Thu Apr 21 12:57:56 2022 +1000 # # powerpc/perf: Fix 32bit compile # # The "read_bhrb" global symbol is only called under CONFIG_PPC64 of # arch/powerpc/perf/core-book3s.c but it is compiled for both 32 and 64 bit # anyway (and LLVM fails to link this on 32bit). # # This fixes it by moving bhrb.o to obj64 targets. # # Signed-off-by: Alexey Kardashevskiy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20220421025756.571995-1-aik@ozlabs.ru # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 bb82c574691daf8f7fa9a160264d15c5804cb769 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+NO_MEMORY_HOTREMOVE_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_defconfig # Added to kconfig CONFIG_MEMORY_HOTPLUG=y # Added to kconfig CONFIG_MEMORY_HOTREMOVE=n # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+NO_MEMORY_HOTREMOVE_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+NO_MEMORY_HOTREMOVE_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+NO_MEMORY_HOTREMOVE_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_pseries_defconfig+NO_MEMORY_HOTREMOVE_powerpc-gcc9 # Build took: 0:01:30.562174