diff options
| author | Heiko Carstens <[email protected]> | 2021-04-17 12:48:32 +0000 |
|---|---|---|
| committer | Heiko Carstens <[email protected]> | 2021-04-18 19:32:02 +0000 |
| commit | a637b3bfa43aead7221b79cd92e092ef911c8253 (patch) | |
| tree | aba40f892ed3299a71148da73796841abc60f6f0 /tools/perf/scripts/python/syscall-counts.py | |
| parent | s390/smp: fix do_restart() prototype (diff) | |
| download | kernel-a637b3bfa43aead7221b79cd92e092ef911c8253.tar.gz kernel-a637b3bfa43aead7221b79cd92e092ef911c8253.zip | |
s390/atomic,cmpxchg: always inline __xchg/__cmpxchg
Make sure to always inline __xchg() and __cmpxchg() otherwise the
compiler might decide to generate out-of-line versions which will
fail at link time:
s390-linux-ld: lib/atomic64_test.o: in function `__xchg':
>> atomic64_test.c:(.text.unlikely+0xa4): undefined reference to `__xchg_called_with_bad_pointer'
Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/linux-mm/[email protected]/
Fixes: d2b1f6d2d350 ("s390/cmpxchg: get rid of gcc atomic builtins")
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
