# git rev-parse -q --verify 1a52c68af17bfc24c6450449942f9f6b448ac3ed^{commit} 1a52c68af17bfc24c6450449942f9f6b448ac3ed already have revision, skipping fetch # git checkout -q -f -B kisskb 1a52c68af17bfc24c6450449942f9f6b448ac3ed # git clean -qxdf # < git log -1 # commit 1a52c68af17bfc24c6450449942f9f6b448ac3ed # Author: Christophe Leroy # Date: Thu Sep 2 08:22:42 2021 +0000 # # powerpc/machdep: Convert ppc_md to static calls # # Static calls are global structures declared with DECLARE_STATIC_CALL() # and defined with DEFINE_STATIC_CALL(). # # All fonction prototypes are moved out of struct machdep_calls into # struct machdep_calls_ops. That new struct won't be instanciated, it # is only used as a support for carriing fonction prototypes and use # them to declare/define associated static calls. # # In order to limit test copies which are error prone, define a macro # called PPC_MD_CALL, which either declare the call or defines it # based on the definition of GENERATING_PPC_MD_STATIC_CALLS_DEFINITIONS # that will be defined in and only in kernel/setup-common.c as a # replacement of ppc_md instance. # # Signed-off-by: Christophe Leroy # --- # v2: Export static calls for modules. # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 1a52c68af17bfc24c6450449942f9f6b448ac3ed # < make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_ppc64_defconfig+NO_TM_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # Added to kconfig CONFIG_PPC_TRANSACTIONAL_MEM=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_ppc64_defconfig+NO_TM_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_ppc64_defconfig+NO_TM_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_ppc64_defconfig+NO_TM_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/sched/sch_frag.c: In function 'sch_fragment': /kisskb/src/net/sched/sch_frag.c:93:10: warning: missing braces around initializer [-Wmissing-braces] struct rtable sch_frag_rt = { 0 }; ^ /kisskb/src/net/sched/sch_frag.c:93:10: warning: (near initialization for 'sch_frag_rt.dst') [-Wmissing-braces] /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/sge.c: In function 'cxgb4_write_partial_sgl': /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/sge.c:910:9: warning: missing braces around initializer [-Wmissing-braces] struct ulptx_sge_pair buf[MAX_SKB_FRAGS / 2 + 1] = {0}, *to; ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/sge.c:910:9: warning: (near initialization for 'buf[0]') [-Wmissing-braces] /kisskb/src/fs/btrfs/tree-checker.c: In function 'check_root_item': /kisskb/src/fs/btrfs/tree-checker.c:1071:9: warning: missing braces around initializer [-Wmissing-braces] struct btrfs_root_item ri = { 0 }; ^ /kisskb/src/fs/btrfs/tree-checker.c:1071:9: warning: (near initialization for 'ri.inode') [-Wmissing-braces] Completed OK # rm -rf /kisskb/build/chleroy_ppc64_defconfig+NO_TM_powerpc-gcc4.9 # Build took: 0:02:15.423330