# git rev-parse -q --verify 4dfa5739d9e135fa3731f3acfbc618e384c351d2^{commit} 4dfa5739d9e135fa3731f3acfbc618e384c351d2 already have revision, skipping fetch # git checkout -q -f -B kisskb 4dfa5739d9e135fa3731f3acfbc618e384c351d2 # git clean -qxdf # git log -1 commit 4dfa5739d9e135fa3731f3acfbc618e384c351d2 Merge: 1ad9bf9 987aedb Author: Linus Torvalds Date: Sat Apr 23 14:53:11 2016 -0700 Merge tag 'asm-generic-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic Pull asm-generic update from Arnd Bergmann: "Here is one patch to wire up the preadv/pwritev system calls in the generic system call table, which is required for all architectures that were merged in the last few years, including arm64. Usually these get merged along with the syscall implementation or one of the architecture trees, but this time that did not happen. Andre and Christoph both sent a version of this patch, I picked the one I got first" * tag 'asm-generic-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic: generic syscalls: wire up preadv2 and pwritev2 syscalls # < /opt/cross/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 4dfa5739d9e135fa3731f3acfbc618e384c351d2 # < make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-randconfig_sh4 CROSS_COMPILE=/opt/cross/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- randconfig KCONFIG_SEED=0xEBC8A861 # Added to kconfig CONFIG_STANDALONE=y # yes \n | make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-randconfig_sh4 CROSS_COMPILE=/opt/cross/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-randconfig_sh4 CROSS_COMPILE=/opt/cross/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- make[1]: Entering directory '/home/kisskb/slave/build/linus_sh-randconfig_sh4' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release GEN ./Makefile WRAP arch/sh/include/generated/asm/bitsperlong.h WRAP arch/sh/include/generated/asm/clkdev.h WRAP arch/sh/include/generated/asm/cputime.h WRAP arch/sh/include/generated/asm/current.h WRAP arch/sh/include/generated/asm/delay.h WRAP arch/sh/include/generated/asm/div64.h WRAP arch/sh/include/generated/asm/emergency-restart.h WRAP arch/sh/include/generated/asm/errno.h WRAP arch/sh/include/generated/asm/exec.h WRAP arch/sh/include/generated/asm/fcntl.h WRAP arch/sh/include/generated/asm/ioctl.h WRAP arch/sh/include/generated/asm/ipcbuf.h WRAP arch/sh/include/generated/asm/irq_regs.h WRAP arch/sh/include/generated/asm/irq_work.h WRAP arch/sh/include/generated/asm/kvm_para.h WRAP arch/sh/include/generated/asm/local.h WRAP arch/sh/include/generated/asm/local64.h WRAP arch/sh/include/generated/asm/mcs_spinlock.h WRAP arch/sh/include/generated/asm/mm-arch-hooks.h WRAP arch/sh/include/generated/asm/mman.h WRAP arch/sh/include/generated/asm/msgbuf.h WRAP arch/sh/include/generated/asm/param.h WRAP arch/sh/include/generated/asm/parport.h WRAP arch/sh/include/generated/asm/percpu.h WRAP arch/sh/include/generated/asm/poll.h WRAP arch/sh/include/generated/asm/preempt.h WRAP arch/sh/include/generated/asm/resource.h WRAP arch/sh/include/generated/asm/sembuf.h WRAP arch/sh/include/generated/asm/serial.h WRAP arch/sh/include/generated/asm/shmbuf.h WRAP arch/sh/include/generated/asm/siginfo.h WRAP arch/sh/include/generated/asm/socket.h WRAP arch/sh/include/generated/asm/statfs.h WRAP arch/sh/include/generated/asm/trace_clock.h WRAP arch/sh/include/generated/asm/ucontext.h WRAP arch/sh/include/generated/asm/sizes.h WRAP arch/sh/include/generated/asm/termbits.h WRAP arch/sh/include/generated/asm/termios.h WRAP arch/sh/include/generated/asm/xor.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h UPD include/config/kernel.release HOSTCC scripts/basic/bin2c Using /home/kisskb/slave/src as source for kernel CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTCC scripts/kallsyms HOSTCC scripts/pnmtologo CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s GEN scripts/mod/devicetable-offsets.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost Generating include/generated/machtypes.h CHK include/generated/timeconst.h CC kernel/bounds.s UPD include/generated/timeconst.h CHK include/generated/bounds.h UPD include/generated/bounds.h CC arch/sh/kernel/asm-offsets.s CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL /home/kisskb/slave/src/scripts/checksyscalls.sh :1229:2: warning: #warning syscall sched_setattr not implemented [-Wcpp] :1232:2: warning: #warning syscall sched_getattr not implemented [-Wcpp] :1235:2: warning: #warning syscall renameat2 not implemented [-Wcpp] :1238:2: warning: #warning syscall seccomp not implemented [-Wcpp] :1241:2: warning: #warning syscall getrandom not implemented [-Wcpp] :1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp] :1247:2: warning: #warning syscall bpf not implemented [-Wcpp] :1250:2: warning: #warning syscall execveat not implemented [-Wcpp] :1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp] :1301:2: warning: #warning syscall membarrier not implemented [-Wcpp] :1304:2: warning: #warning syscall mlock2 not implemented [-Wcpp] :1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp] :1310:2: warning: #warning syscall preadv2 not implemented [-Wcpp] :1313:2: warning: #warning syscall pwritev2 not implemented [-Wcpp] CC init/main.o CHK include/generated/compile.h CC init/do_mounts.o CC init/do_mounts_initrd.o CC init/initramfs.o CC init/init_task.o UPD include/generated/compile.h CC init/version.o HOSTCC usr/gen_init_cpio AS arch/sh/kernel/debugtraps.o CC arch/sh/kernel/dma-nommu.o CC arch/sh/kernel/io.o CC arch/sh/kernel/dumpstack.o CC arch/sh/kernel/idle.o CC arch/sh/kernel/irq.o CC arch/sh/kernel/irq_32.o CC arch/sh/kernel/machvec.o CC arch/sh/kernel/kdebugfs.o CC arch/sh/kernel/nmi_debug.o CC arch/sh/kernel/process_32.o CC arch/sh/kernel/process.o CC arch/sh/kernel/ptrace.o CC arch/sh/kernel/ptrace_32.o CC arch/sh/kernel/return_address.o CC arch/sh/kernel/reboot.o CC arch/sh/kernel/sys_sh.o CC arch/sh/kernel/signal_32.o CC arch/sh/kernel/time.o AS arch/sh/kernel/syscalls_32.o CC arch/sh/kernel/setup.o CC arch/sh/kernel/unwinder.o CC arch/sh/kernel/topology.o CC arch/sh/kernel/stacktrace.o CC arch/sh/kernel/iomap.o CC arch/sh/kernel/traps.o CC arch/sh/kernel/traps_32.o CC arch/sh/kernel/sys_sh32.o CC arch/sh/kernel/disassemble.o CC arch/sh/kernel/perf_event.o CC arch/sh/kernel/perf_callchain.o CC arch/sh/kernel/hw_breakpoint.o AS arch/sh/kernel/head_32.o LDS arch/sh/kernel/vmlinux.lds CC arch/sh/mm/alignment.o CC arch/sh/mm/init.o CC arch/sh/mm/mmap.o CC arch/sh/mm/cache.o CC arch/sh/mm/cache-sh4.o CC arch/sh/mm/consistent.o CC arch/sh/mm/flush-sh4.o CC arch/sh/kernel/cpu/clock-cpg.o CC arch/sh/kernel/cpu/init.o CC arch/sh/kernel/cpu/clock.o CC arch/sh/kernel/cpu/fpu.o CC arch/sh/kernel/cpu/pfc.o CC arch/sh/kernel/cpu/proc.o CC arch/sh/kernel/cpu/irq/imask.o CC arch/sh/mm/nommu.o CC arch/sh/mm/extable_32.o CC arch/sh/mm/cache-debugfs.o CC arch/sh/mm/asids-debugfs.o GEN usr/initramfs_data.cpio.gz LD arch/sh/boards/built-in.o AS arch/sh/kernel/cpu/sh4/../sh3/entry.o CC arch/sh/kernel/cpu/sh4/probe.o CC arch/sh/kernel/cpu/sh4/fpu.o AS arch/sh/kernel/cpu/sh4/../sh3/ex.o CC arch/sh/kernel/cpu/sh4/softfloat.o CC arch/sh/kernel/cpu/sh4/setup-sh7750.o CC arch/sh/kernel/cpu/sh4/clock-sh4.o /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S: Assembler messages: /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:389: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:392: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence CC arch/sh/kernel/cpu/sh4/perf_event.o /home/kisskb/slave/src/arch/sh/mm/cache-sh4.c: In function 'flush_cache_one': /home/kisskb/slave/src/arch/sh/mm/cache-sh4.c:99:17: error: 'cached_to_uncached' undeclared (first use in this function) /home/kisskb/slave/src/arch/sh/mm/cache-sh4.c:99:17: note: each undeclared identifier is reported only once for each function it appears in /home/kisskb/slave/src/arch/sh/mm/cache-sh4.c: In function 'sh4_flush_cache_mm': /home/kisskb/slave/src/arch/sh/mm/cache-sh4.c:192:2: error: implicit declaration of function 'cpu_context' [-Werror=implicit-function-declaration] cc1: all warnings being treated as errors /home/kisskb/slave/src/scripts/Makefile.build:291: recipe for target 'arch/sh/mm/cache-sh4.o' failed make[2]: *** [arch/sh/mm/cache-sh4.o] Error 1 make[2]: *** Waiting for unfinished jobs.... LD arch/sh/kernel/cpu/sh4/common.o AS usr/initramfs_data.o LD usr/built-in.o LD arch/sh/kernel/cpu/irq/built-in.o LD certs/built-in.o CC kernel/fork.o CC kernel/exec_domain.o CC kernel/panic.o CC kernel/cpu.o CC kernel/exit.o CC kernel/softirq.o LD init/mounts.o CC kernel/resource.o CC kernel/sysctl.o LD init/built-in.o CC kernel/capability.o CC kernel/sysctl_binary.o CC kernel/user.o CC kernel/ptrace.o CC kernel/signal.o CC kernel/sys.o CC kernel/workqueue.o CC kernel/pid.o CC kernel/task_work.o CC kernel/extable.o CC kernel/kmod.o CC kernel/kthread.o CC kernel/params.o CC kernel/nsproxy.o CC kernel/sys_ni.o CC kernel/async.o CC kernel/ksysfs.o CC kernel/notifier.o CC kernel/range.o CC kernel/reboot.o CC kernel/cred.o CC kernel/smpboot.o CC kernel/rcu/update.o LD kernel/livepatch/built-in.o CC kernel/printk/printk.o CC kernel/bpf/core.o CC kernel/rcu/sync.o CC kernel/rcu/srcu.o CC kernel/events/core.o CC kernel/power/qos.o CC kernel/kcmp.o CC kernel/rcu/tiny.o CC kernel/events/ring_buffer.o CC kernel/trace/trace_clock.o /home/kisskb/slave/src/Makefile:962: recipe for target 'arch/sh/mm' failed make[1]: *** [arch/sh/mm] Error 2 make[1]: *** Waiting for unfinished jobs.... CC kernel/freezer.o CC kernel/locking/mutex.o CC kernel/events/callchain.o CC kernel/irq/irqdesc.o CC kernel/profile.o CC kernel/stacktrace.o CC kernel/sched/core.o CC kernel/up.o CC kernel/kallsyms.o CC kernel/cgroup_freezer.o CC kernel/cgroup.o CC kernel/cgroup_pids.o CC kernel/cpuset.o CC kernel/time/time.o LD kernel/trace/built-in.o GZIP kernel/config_data.gz CC kernel/hung_task.o CC kernel/watchdog.o CC kernel/seccomp.o CC kernel/latencytop.o CC kernel/irq_work.o CC kernel/locking/semaphore.o CC kernel/power/main.o LD arch/sh/kernel/cpu/sh4/built-in.o CC kernel/irq/handle.o CC kernel/torture.o CC kernel/power/process.o CC kernel/memremap.o LD arch/sh/kernel/cpu/built-in.o CHK kernel/config_data.h CC kernel/irq/manage.o CC kernel/sched/loadavg.o UPD kernel/config_data.h CC kernel/irq/spurious.o CC kernel/locking/rwsem.o CC kernel/configs.o LD arch/sh/kernel/built-in.o CC kernel/events/hw_breakpoint.o CC kernel/sched/clock.o CC kernel/locking/percpu-rwsem.o LD kernel/rcu/built-in.o /home/kisskb/slave/src/kernel/sched/core.c: In function 'pick_next_task': /home/kisskb/slave/src/kernel/sched/core.c:3098:1: warning: control reaches end of non-void function [-Wreturn-type] CC kernel/sched/cputime.o CC kernel/locking/mutex-debug.o CC kernel/sched/idle_task.o CC kernel/time/timer.o CC kernel/sched/fair.o CC kernel/time/hrtimer.o CC kernel/sched/rt.o CC kernel/time/itimer.o CC kernel/sched/deadline.o CC kernel/time/posix-timers.o CC kernel/irq/resend.o CC kernel/locking/lockdep.o CC kernel/locking/lockdep_proc.o LD kernel/printk/built-in.o CC kernel/irq/dummychip.o CC kernel/irq/chip.o CC kernel/locking/spinlock.o CC kernel/irq/devres.o CC kernel/locking/spinlock_debug.o CC kernel/irq/irqdomain.o CC kernel/locking/locktorture.o CC kernel/locking/rwsem-spinlock.o CC kernel/sched/stop_task.o CC kernel/time/posix-cpu-timers.o CC kernel/time/timekeeping.o CC kernel/irq/proc.o CC kernel/time/ntp.o CC kernel/sched/wait.o CC kernel/sched/swait.o CC kernel/time/clocksource.o CC kernel/time/jiffies.o CC kernel/sched/completion.o CC kernel/sched/idle.o CC kernel/time/timer_list.o CC kernel/sched/auto_group.o CC kernel/time/timeconv.o CC kernel/sched/stats.o CC kernel/time/timecounter.o CC kernel/sched/debug.o CC kernel/time/posix-clock.o CC kernel/time/alarmtimer.o CC kernel/time/clockevents.o LD kernel/power/built-in.o CC kernel/time/tick-common.o CC kernel/time/tick-oneshot.o CC kernel/time/tick-sched.o CC kernel/time/timer_stats.o CC kernel/time/timekeeping_debug.o CC kernel/time/test_udelay.o LD kernel/irq/built-in.o LD kernel/bpf/built-in.o LD kernel/locking/built-in.o LD kernel/sched/built-in.o LD kernel/time/built-in.o /home/kisskb/slave/src/kernel/cgroup.c: In function 'cgroup_mount': /home/kisskb/slave/src/kernel/cgroup.c:2183:23: warning: 'root' may be used uninitialized in this function [-Wuninitialized] LD kernel/events/built-in.o LD kernel/built-in.o make[1]: *** wait: No child processes. Stop. Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-randconfig_sh4 CROSS_COMPILE=/opt/cross/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /home/kisskb/slave/build/linus_sh-randconfig_sh4 # Build took: 0:00:09.928352