diff options
author | Ammar Faizi <ammarfaizi2@gnuweeb.org> | 2022-12-24 00:23:38 +0700 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2023-02-10 21:33:37 +0100 |
commit | 5541992e512de8c9133110809f767bd1b54ee10d (patch) | |
tree | d9b457237b4bf9ead98a7f9ade2c9a80d60161bf /arch/um/include/asm/processor-generic.h | |
parent | 0438aadfa69a345136f5ba4f582e0f769450ee0d (diff) | |
download | linux-5541992e512de8c9133110809f767bd1b54ee10d.tar.gz linux-5541992e512de8c9133110809f767bd1b54ee10d.tar.bz2 linux-5541992e512de8c9133110809f767bd1b54ee10d.zip |
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 <ammarfaizi2@gnuweeb.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include/asm/processor-generic.h')
0 files changed, 0 insertions, 0 deletions