diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2024-08-22 10:13:21 +0300 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2024-08-30 16:44:33 +0300 |
commit | 20a9af057cd7c4057c72c803dcf83c97eb5deb95 (patch) | |
tree | c20804fd28ccd69b544d97a44b07e0cd2876b288 /tools/arch/x86/vdso | |
parent | 01b52f01c5a6bdc3b3e4229dccc84ed667e6867b (diff) | |
download | linux-20a9af057cd7c4057c72c803dcf83c97eb5deb95.tar.xz |
selftests: vDSO: don't hard-code location of vDSO sources
Architectures use different location for vDSO sources:
arch/mips/vdso
arch/sparc/vdso
arch/arm64/kernel/vdso
arch/riscv/kernel/vdso
arch/csky/kernel/vdso
arch/x86/um/vdso
arch/x86/entry/vdso
arch/powerpc/kernel/vdso
arch/arm/vdso
arch/loongarch/vdso
Don't hard-code vdso sources location in selftest Makefile. Instead
create a vdso/ symbolic link in tools/arch/$arch/ and update Makefile
accordingly.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tools/arch/x86/vdso')
l--------- | tools/arch/x86/vdso | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/arch/x86/vdso b/tools/arch/x86/vdso new file mode 120000 index 000000000000..7eb962fd3454 --- /dev/null +++ b/tools/arch/x86/vdso @@ -0,0 +1 @@ +../../../arch/x86/entry/vdso/
\ No newline at end of file |