# git rev-parse -q --verify d052ee64273e2c76911206853398dd5250fcfdf9^{commit} d052ee64273e2c76911206853398dd5250fcfdf9 already have revision, skipping fetch # git checkout -q -f -B kisskb d052ee64273e2c76911206853398dd5250fcfdf9 # git clean -qxdf # < git log -1 # commit d052ee64273e2c76911206853398dd5250fcfdf9 # 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 # < /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 d052ee64273e2c76911206853398dd5250fcfdf9 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/chleroy_pmac32_defconfig+KVM_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM=y # Added to kconfig CONFIG_KVM_BOOK3S_32=m # Added to kconfig # < make -s -j 120 ARCH=powerpc O=/kisskb/build/chleroy_pmac32_defconfig+KVM_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/chleroy_pmac32_defconfig+KVM_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4190:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 120 ARCH=powerpc O=/kisskb/build/chleroy_pmac32_defconfig+KVM_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/sound/ppc/awacs.c:30:27: error: 'sys_ctrler' undeclared (first use in this function) #define CHECK_CUDA_AMP() (sys_ctrler == SYS_CTRLER_CUDA) ^ /kisskb/src/sound/ppc/awacs.c:909:46: note: in expansion of macro 'CHECK_CUDA_AMP' if (chip->revision == 3 && chip->has_iic && CHECK_CUDA_AMP()) { ^ /kisskb/src/sound/ppc/awacs.c:30:27: note: each undeclared identifier is reported only once for each function it appears in #define CHECK_CUDA_AMP() (sys_ctrler == SYS_CTRLER_CUDA) ^ /kisskb/src/sound/ppc/awacs.c:909:46: note: in expansion of macro 'CHECK_CUDA_AMP' if (chip->revision == 3 && chip->has_iic && CHECK_CUDA_AMP()) { ^ /kisskb/src/sound/ppc/awacs.c:30:41: error: 'SYS_CTRLER_CUDA' undeclared (first use in this function) #define CHECK_CUDA_AMP() (sys_ctrler == SYS_CTRLER_CUDA) ^ /kisskb/src/sound/ppc/awacs.c:909:46: note: in expansion of macro 'CHECK_CUDA_AMP' if (chip->revision == 3 && chip->has_iic && CHECK_CUDA_AMP()) { ^ make[3]: *** [/kisskb/src/scripts/Makefile.build:271: sound/ppc/awacs.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:514: sound/ppc] Error 2 make[2]: *** Waiting for unfinished jobs.... /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/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1181:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/block/mq-deadline.c:274:12: warning: 'dd_queued' defined but not used [-Wunused-function] static u32 dd_queued(struct deadline_data *dd, enum dd_prio prio) ^ /kisskb/src/drivers/macintosh/via-cuda.c: In function 'find_via_cuda': /kisskb/src/drivers/macintosh/via-cuda.c:262:5: error: 'sys_ctrler' undeclared (first use in this function) sys_ctrler = SYS_CTRLER_CUDA; ^ /kisskb/src/drivers/macintosh/via-cuda.c:262:5: note: each undeclared identifier is reported only once for each function it appears in /kisskb/src/drivers/macintosh/via-cuda.c:262:18: error: 'SYS_CTRLER_CUDA' undeclared (first use in this function) sys_ctrler = SYS_CTRLER_CUDA; ^ /kisskb/src/drivers/macintosh/via-cuda.c: In function 'cuda_probe': /kisskb/src/drivers/macintosh/via-cuda.c:325:9: error: 'sys_ctrler' undeclared (first use in this function) if (sys_ctrler != SYS_CTRLER_CUDA) ^ /kisskb/src/drivers/macintosh/via-cuda.c:325:23: error: 'SYS_CTRLER_CUDA' undeclared (first use in this function) if (sys_ctrler != SYS_CTRLER_CUDA) ^ make[3]: *** [/kisskb/src/scripts/Makefile.build:271: drivers/macintosh/via-cuda.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1851: sound] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:514: drivers/macintosh] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1851: drivers] Error 2 make: *** [Makefile:220: __sub-make] Error 2 Command 'make -s -j 120 ARCH=powerpc O=/kisskb/build/chleroy_pmac32_defconfig+KVM_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/chleroy_pmac32_defconfig+KVM_powerpc-gcc4.9 # Build took: 0:00:57.667390