# 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/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 3758347012bc8e8f98e8af2af99c6b24b172277f # < make -s -j 48 ARCH=powerpc O=/kisskb/build/mpe_83xx_mpc834x_mds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 83xx/mpc834x_mds_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/mpe_83xx_mpc834x_mds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x4ee4f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4ddde0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.0.0-rc2-g3758347012bc Created: Mon Jan 14 23:40:05 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2490800 Bytes = 2432.42 KiB = 2.38 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.0.0-rc2-g3758347012bc Created: Mon Jan 14 23:40:05 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2519685 Bytes = 2460.63 KiB = 2.40 MiB Load Address: 00500000 Entry Point: 00500294 Completed OK # rm -rf /kisskb/build/mpe_83xx_mpc834x_mds_defconfig_powerpc-gcc5 # Build took: 0:00:36.698549