diff options
author | 2024-09-11 10:50:15 +0200 | |
---|---|---|
committer | 2024-09-13 17:28:36 +0200 | |
commit | a6e23fb8d3c0e3904da70beaf5d7e840a983c97f (patch) | |
tree | b9752f232614653597eac0896155b61195566f69 /scripts/generate_rust_analyzer.py | |
parent | selftests: vDSO: fix ELF hash table entry size for s390x (diff) | |
download | linux-rng-a6e23fb8d3c0e3904da70beaf5d7e840a983c97f.tar.xz linux-rng-a6e23fb8d3c0e3904da70beaf5d7e840a983c97f.zip |
selftests: vDSO: fix vdso_config for s390
Running vdso_test_correctness on s390x (aka s390 64 bit) emits a warning:
Warning: failed to find clock_gettime64 in vDSO
This is caused by the "#elif defined (__s390__)" check in vdso_config.h
which the defines VDSO_32BIT.
If __s390x__ is defined also __s390__ is defined. Therefore the correct
check must make sure that only __s390__ is defined.
Therefore add the missing !defined(__s390x__). Also use common
__s390x__ define instead of __s390X__.
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Fixes: 693f5ca08ca0 ("kselftest: Extend vDSO selftest")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions