# git rev-parse -q --verify 02a4db8feb0e35a215b6b803bce0ab8a1fd32838^{commit} 02a4db8feb0e35a215b6b803bce0ab8a1fd32838 already have revision, skipping fetch # git checkout -q -f -B kisskb 02a4db8feb0e35a215b6b803bce0ab8a1fd32838 # git clean -qxdf # < git log -1 # commit 02a4db8feb0e35a215b6b803bce0ab8a1fd32838 # Author: Michael Ellerman # Date: Wed Aug 19 11:57:04 2020 +1000 # # powerpc/64: Remove unused generic_secondary_thread_init() # # The last caller was removed in 2014 in commit fb5a515704d7 ("powerpc: # Remove platforms/wsp and associated pieces"). # # As Jordan noticed even though there are no callers, the code above in # fsl_secondary_thread_init() falls through into # generic_secondary_thread_init(). So we can remove the _GLOBAL but not # the body of the function. # # However because fsl_secondary_thread_init() is inside #ifdef # CONFIG_PPC_BOOK3E, we can never reach the body of # generic_secondary_thread_init() unless CONFIG_PPC_BOOK3E is enabled, # so we can wrap the whole thing in a single #ifdef. # # Signed-off-by: Michael Ellerman # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200819015704.1976364-1-mpe@ellerman.id.au # < /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 02a4db8feb0e35a215b6b803bce0ab8a1fd32838 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_stx_gp3_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/stx_gp3_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_stx_gp3_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_stx_gp3_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_stx_gp3_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x56aff8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.9.0-rc1-47774-g02a4db8fe Created: Mon Aug 24 01:32:16 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2829507 Bytes = 2763.19 KiB = 2.70 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_85xx_stx_gp3_defconfig_powerpc-gcc5 # Build took: 0:01:04.145051