diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2024-11-03 17:09:31 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-05 14:01:22 +0100 |
commit | ebfadf019e85c718cc911bff314a97dba027dcd3 (patch) | |
tree | 9bbffabf74025f3b4ca0a366cdc662394e308615 /rust/helpers/spinlock.c | |
parent | 1dfa6c520022b72de65e64d845cecde8903d9f63 (diff) |
locking/atomic/x86: Use ALT_OUTPUT_SP() for __alternative_atomic64()
[ Upstream commit 8b64db9733c2e4d30fd068d0b9dcef7b4424b035 ]
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: 819165fb34b9 ("x86: Adjust asm constraints in atomic64 wrappers")
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20241103160954.3329-1-ubizjak@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'rust/helpers/spinlock.c')
0 files changed, 0 insertions, 0 deletions