# git rev-parse -q --verify ab4caa21c332c35576b67aa4804b0cc8772e089a^{commit} ab4caa21c332c35576b67aa4804b0cc8772e089a already have revision, skipping fetch # git checkout -q -f -B kisskb ab4caa21c332c35576b67aa4804b0cc8772e089a # git clean -qxdf # < git log -1 # commit ab4caa21c332c35576b67aa4804b0cc8772e089a # 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-4.9.4-nolibc/ia64-linux/bin/ia64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux-ld --version # < git log --format=%s --max-count=1 ab4caa21c332c35576b67aa4804b0cc8772e089a # < make -s -j 80 ARCH=ia64 O=/kisskb/build/powerpc-next_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- defconfig # < make -s -j 80 ARCH=ia64 O=/kisskb/build/powerpc-next_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- help # make -s -j 80 ARCH=ia64 O=/kisskb/build/powerpc-next_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- olddefconfig # make -s -j 80 ARCH=ia64 O=/kisskb/build/powerpc-next_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/arch/ia64/include/uapi/asm/intrinsics.h:22:0, from /kisskb/src/arch/ia64/include/asm/intrinsics.h:11, from /kisskb/src/arch/ia64/include/asm/timex.h:14, from /kisskb/src/include/linux/timex.h:65, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:73, from /kisskb/src/fs/nfs/read.c:11: /kisskb/src/fs/nfs/read.c: In function 'nfs_read_completion': /kisskb/src/arch/ia64/include/uapi/asm/cmpxchg.h:57:2: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr)))) ^ /kisskb/src/fs/nfs/read.c:196:5: note: in expansion of macro 'xchg' xchg(&nfs_req_openctx(req)->error, error); ^ /kisskb/src/fs/nfs/read.c: In function 'nfs_readpage': /kisskb/src/arch/ia64/include/uapi/asm/cmpxchg.h:57:2: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr)))) ^ /kisskb/src/fs/nfs/read.c:355:2: note: in expansion of macro 'xchg' xchg(&ctx->error, 0); ^ No errors detected in 22424 functions. Completed OK # rm -rf /kisskb/build/powerpc-next_ia64-defconfig_ia64-gcc4.9 # Build took: 0:02:24.321404