diff options
| author | Uros Bizjak <ubizjak@gmail.com> | 2024-11-03 17:09:32 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-05 14:01:22 +0100 |
| commit | 140a404a39ba12912d88f888413464a7efc75238 (patch) | |
| tree | 4d90cda07e0db69b9f439bb65a6c36f610d2294b /lib/test_dynamic_debug.c | |
| parent | ebfadf019e85c718cc911bff314a97dba027dcd3 (diff) | |
| download | linux-140a404a39ba12912d88f888413464a7efc75238.tar.gz linux-140a404a39ba12912d88f888413464a7efc75238.tar.bz2 linux-140a404a39ba12912d88f888413464a7efc75238.zip | |
locking/atomic/x86: Use ALT_OUTPUT_SP() for __arch_{,try_}cmpxchg64_emu()
[ Upstream commit 25cf4fbb596d730476afcc0fb87a9d708db14078 ]
x86_32 __arch_{,try_}cmpxchg64_emu()() macros use CALL instruction
inside asm statement. Use ALT_OUTPUT_SP() macro to add required
dependence on %esp register.
Fixes: 79e1dd05d1a2 ("x86: Provide an alternative() based cmpxchg64()")
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-2-ubizjak@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/test_dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
