• Max Filippov's avatar
    xtensa: rearrange syscall tracing · ba9c1d65
    Max Filippov authored
    system_call saves and restores syscall number across system call to make
    clone and execv entry and exit tracing match. This complicates things
    when syscall code may be changed by ptrace.
    Preserve syscall code in copy_thread and start_thread directly instead of
    doing tricks in system_call.
    Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
    ba9c1d65
processor.h 7.6 KB