# git rev-parse -q --verify 3758347012bc8e8f98e8af2af99c6b24b172277f^{commit} 3758347012bc8e8f98e8af2af99c6b24b172277f already have revision, skipping fetch # git checkout -q -f -B kisskb 3758347012bc8e8f98e8af2af99c6b24b172277f # git clean -qxdf # < git log -1 # commit 3758347012bc8e8f98e8af2af99c6b24b172277f # Author: Michael Ellerman # Date: Mon Jan 14 22:24:36 2019 +1100 # # powerpc/syscalls: Use the number when building SPU syscall table # # Currently the macro that inserts entries into the SPU syscall table # doesn't actually use the "nr" (syscall number) parameter. # # This does work, but it relies on the exact right number of syscall # entries being emitted in order for the syscal numbers to line up with # the array entries. If for example we had two entries with the same # syscall number we wouldn't get an error, it would just cause all # subsequent syscalls to be off by one in the spu_syscall_table. # # So instead change the macro to assign to the specific entry of the # array, meaning any numbering overlap will be caught by the compiler. # # 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 3758347012bc8e8f98e8af2af99c6b24b172277f # < make -s -j 120 ARCH=powerpc O=/kisskb/build/mpe_mpc885_ads_defconfig+HUGETLB_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc885_ads_defconfig # Added to kconfig CONFIG_HUGETLBFS=y # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/mpe_mpc885_ads_defconfig+HUGETLB_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- oldconfig yes: standard output: Broken pipe # make -s -j 120 ARCH=powerpc O=/kisskb/build/mpe_mpc885_ads_defconfig+HUGETLB_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/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1434:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] Image Name: Linux-5.0.0-rc2-g3758347012bc Created: Tue Jan 15 00:08:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1829787 Bytes = 1786.90 KiB = 1.75 MiB Load Address: 00400000 Entry Point: 004001dc Completed OK # rm -rf /kisskb/build/mpe_mpc885_ads_defconfig+HUGETLB_powerpc-gcc4.6 # Build took: 0:00:25.298926