# git rev-parse -q --verify 2860180770b4136b1d05f47ed85723aa93bd5bb5^{commit} 2860180770b4136b1d05f47ed85723aa93bd5bb5 already have revision, skipping fetch # git checkout -q -f -B kisskb 2860180770b4136b1d05f47ed85723aa93bd5bb5 # git clean -qxdf # < git log -1 # commit 2860180770b4136b1d05f47ed85723aa93bd5bb5 # Author: Michael Ellerman # Date: Sat Mar 2 22:30:28 2019 +1100 # # powerpc/kconfig: Select HAVE_FUTEX_CMPXCHG # # The futex code allows architectures to determine at runtime if they # support futex_atomic_cmpxchg_inatomic(). It does this by calling that # function early in boot and checking if it returns -ENOSYS. # # That is fine but unnecessary on powerpc, as we always have support for # futex_atomic_cmpxchg_inatomic() if the kernel is built with FUTEX # support. It also means the first page fault we take at boot is on a # deliberate NULL pointer in kernel space, which can be confusing if # you're debugging the page fault code. # # We can avoid the runtime check by selecting HAVE_FUTEX_CMPXCHG, so # let's do that. # # Signed-off-by: Michael Ellerman # < /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 2860180770b4136b1d05f47ed85723aa93bd5bb5 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_adder875_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- adder875_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_adder875_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:186:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:339:21: note: 'pdeo' was declared here Image Name: Linux-5.0.0-rc2-g2860180770b4 Created: Sun Mar 3 18:26:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1910622 Bytes = 1865.84 KiB = 1.82 MiB Load Address: 00400000 Entry Point: 004001dc Completed OK # rm -rf /kisskb/build/powerpc-next_adder875_defconfig_powerpc-gcc4.6 # Build took: 0:00:24.014537