# 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-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 1a52c68af17bfc24c6450449942f9f6b448ac3ed # < make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_ppc64e_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64e_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_ppc64e_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_ppc64e_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_ppc64e_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/chleroy_ppc64e_defconfig_powerpc-gcc5 # Build took: 0:02:27.297062