commit | 2201f31f2c6d6030cbd2f7085455e2172725b1c5 | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Wed Apr 03 20:19:25 2019 -0700 |
committer | Max Filippov <jcmvbkbc@gmail.com> | Wed Apr 03 23:18:36 2019 -0700 |
tree | 67ea0ee67367c7050fce6ec793967486108b43c1 | |
parent | 79a3aaa7b82e3106be97842dedfd8429248896e6 [diff] |
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: Max Filippov <jcmvbkbc@gmail.com>