diff options
author | Ammar Faizi <[email protected]> | 2022-12-24 00:23:38 +0700 |
---|---|---|
committer | Richard Weinberger <[email protected]> | 2023-02-10 21:33:37 +0100 |
commit | 5541992e512de8c9133110809f767bd1b54ee10d (patch) | |
tree | d9b457237b4bf9ead98a7f9ade2c9a80d60161bf /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 0438aadfa69a345136f5ba4f582e0f769450ee0d (diff) |
x86: um: vdso: Add '%rcx' and '%r11' to the syscall clobber list
The 'syscall' instruction clobbers '%rcx' and '%r11', but they are not
listed in the inline Assembly that performs the syscall instruction.
No real bug is found. It wasn't buggy by luck because '%rcx' and '%r11'
are caller-saved registers, and not used in the functions, and the
functions are never inlined.
Add them to the clobber list for code correctness.
Fixes: f1c2bb8b9964ed31de988910f8b1cfb586d30091 ("um: implement a x86_64 vDSO")
Signed-off-by: Ammar Faizi <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions