Skip to content
Commit 2201f31f authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: use actual syscall number in do_syscall_trace_leave



Syscall may alter pt_regs structure passed to it, resulting in a
mismatch between syscall entry end syscall exit entries in the ftrace.
Temporary restore syscall field of the pt_regs for the duration of
do_syscall_trace_leave.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 79a3aaa7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment