# git rev-parse -q --verify 38bc7cb6a88c5806e27890e4a3784a5aaa2ae966^{commit} 38bc7cb6a88c5806e27890e4a3784a5aaa2ae966 already have revision, skipping fetch # git checkout -q -f -B kisskb 38bc7cb6a88c5806e27890e4a3784a5aaa2ae966 # git clean -qxdf # < git log -1 # commit 38bc7cb6a88c5806e27890e4a3784a5aaa2ae966 # Author: Andrey Abramov # Date: Tue Apr 2 23:47:22 2019 +0300 # # powerpc: module_[32|64].c: replace swap function with built-in one # # Replace relaswap with built-in one, because relaswap # does a simple byte to byte swap. # # Since Spectre mitigations have made indirect function calls more # expensive, and the default simple byte copies swap is implemented # without them, an "optimized" custom swap function is now # a waste of time as well as code. # # Signed-off-by: Andrey Abramov # Reviewed by: George Spelvin # Acked-by: Michael Ellerman (powerpc) # Link: https://lore.kernel.org/r/994931554238042@iva8-b333b7f98ab0.qloud-c.yandex.net # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 38bc7cb6a88c5806e27890e4a3784a5aaa2ae966 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_maple_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- maple_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_maple_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_maple_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_maple_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:46:0, from /kisskb/src/arch/powerpc/include/asm/mmu.h:347, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:47, from /kisskb/src/arch/powerpc/include/asm/paca.h:17, from /kisskb/src/arch/powerpc/include/asm/current.h:13, from /kisskb/src/include/linux/thread_info.h:21, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/compat.h:10, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:14: /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:321:1: warning: data definition has no type or storage class [enabled by default] /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:321:1: error: type defaults to 'int' in declaration of 'DECLARE_STATIC_KEY_FALSE' [-Werror=implicit-int] /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:321:1: warning: parameter names (without types) in function declaration [enabled by default] /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h: In function 'stress_slb': /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:324:2: error: implicit declaration of function 'static_branch_unlikely' [-Werror=implicit-function-declaration] /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:324:33: error: 'stress_slb_key' undeclared (first use in this function) /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:324:33: note: each undeclared identifier is reported only once for each function it appears in /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:328:1: warning: data definition has no type or storage class [enabled by default] /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:328:1: error: type defaults to 'int' in declaration of 'DECLARE_STATIC_KEY_FALSE' [-Werror=implicit-int] /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:328:1: warning: parameter names (without types) in function declaration [enabled by default] /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h: In function 'stress_hpt': /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:331:33: error: 'stress_hpt_key' undeclared (first use in this function) cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:100: arch/powerpc/kernel/asm-offsets.s] Error 1 make[1]: *** [/kisskb/src/Makefile:1141: prepare0] Error 2 make: *** [Makefile:180: sub-make] Error 2 Command 'make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_maple_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_maple_defconfig_powerpc-gcc4.6 # Build took: 0:00:07.470675