Commit 8b64db97 authored by Uros Bizjak's avatar Uros Bizjak Committed by Peter Zijlstra
Browse files

locking/atomic/x86: Use ALT_OUTPUT_SP() for __alternative_atomic64()



CONFIG_X86_CMPXCHG64 variant of x86_32 __alternative_atomic64()
macro uses CALL instruction inside asm statement. Use
ALT_OUTPUT_SP() macro to add required dependence on %esp register.

Fixes: 819165fb ("x86: Adjust asm constraints in atomic64 wrappers")
Signed-off-by: default avatarUros Bizjak <ubizjak@gmail.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20241103160954.3329-1-ubizjak@gmail.com
parent 36c2cf88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment