diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2026-10-12 13:42:49 +0200 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2026-10-13 17:08:21 +0200 |
| commit | 8f4778cf7f76e0da395b8015a25953f3ce05ab16 (patch) | |
| tree | 3b1b7406d99a6ab2c12792e8a2ee9f6415fcec54 /tools/lib/python | |
| parent | 5af4c564803cd080361e9b99593c9cd6552cb73e (diff) | |
| download | linux-next-8f4778cf7f76e0da395b8015a25953f3ce05ab16.tar.gz linux-next-8f4778cf7f76e0da395b8015a25953f3ce05ab16.zip | |
s390/percpu: Implement this_cpu_try_cmpxchg()
Provide an s390 specific implementation of this_cpu_try_cmpxchg() for
the four and eight byte cases, if the compiler supports flag output
operands.
This variant uses the condition code set by cs/csg, which avoids a
compare instruction required by the generic variant and generates
slightly better code.
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
