diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2024-08-30 14:28:39 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2024-08-30 15:48:45 +0200 |
commit | f0d0dbbc101a5ed2cd844eae0c2cc0546327ef89 (patch) | |
tree | 074d3daab3e18c2e5c8cb4aeaf3b4c7b622760d8 /tools | |
parent | 6eda706a535c3d0119eaefaad5fc119609639ed2 (diff) | |
download | linux-stable-f0d0dbbc101a5ed2cd844eae0c2cc0546327ef89.tar.gz linux-stable-f0d0dbbc101a5ed2cd844eae0c2cc0546327ef89.tar.bz2 linux-stable-f0d0dbbc101a5ed2cd844eae0c2cc0546327ef89.zip |
selftests: vDSO: use parse_vdso.h in vdso_test_abi
Don't duplicate parse_vdso function prototypes, include
the header instead.
Fixes: 693f5ca08ca0 ("kselftest: Extend vDSO selftest")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/vDSO/vdso_test_abi.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/testing/selftests/vDSO/vdso_test_abi.c b/tools/testing/selftests/vDSO/vdso_test_abi.c index 00034208c4c6..a54424e2336f 100644 --- a/tools/testing/selftests/vDSO/vdso_test_abi.c +++ b/tools/testing/selftests/vDSO/vdso_test_abi.c @@ -21,10 +21,7 @@ #include "../kselftest.h" #include "vdso_config.h" #include "vdso_call.h" - -extern void *vdso_sym(const char *version, const char *name); -extern void vdso_init_from_sysinfo_ehdr(uintptr_t base); -extern void vdso_init_from_auxv(void *auxv); +#include "parse_vdso.h" static const char *version; static const char **name; |