# 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 48 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_cm5200_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 52xx/cm5200_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_cm5200_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 /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] INFO: Uncompressed kernel (size 0x4e0ca8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.0.0-rc2-g2860180770b4 Created: Sun Mar 3 18:18:03 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2491359 Bytes = 2432.97 KiB = 2.38 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_52xx_cm5200_defconfig_powerpc-gcc4.6 # Build took: 0:00:32.918903