Skip to content
Commit 5541992e authored by Ammar Faizi's avatar Ammar Faizi Committed by Richard Weinberger
Browse files

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: f1c2bb8b ("um: implement a x86_64 vDSO")
Signed-off-by: default avatarAmmar Faizi <ammarfaizi2@gnuweeb.org>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 0438aadf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment