Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

selftests: vDSO: vdso_test_correctness: Drop SYS_getcpu fallbacks

These fallbacks are only valid on x86 and unused in the first place.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260227-vdso-selftest-cleanups-v2-3-d84830fa8beb@linutronix.de

authored by

Thomas Weißschuh and committed by
Borislav Petkov (AMD)
ad2af776 50692c25

-8
-8
tools/testing/selftests/vDSO/vdso_test_correctness.c
··· 25 25 26 26 static const char **name; 27 27 28 - #ifndef SYS_getcpu 29 - # ifdef __x86_64__ 30 - # define SYS_getcpu 309 31 - # else 32 - # define SYS_getcpu 318 33 - # endif 34 - #endif 35 - 36 28 #ifndef __NR_clock_gettime64 37 29 #define __NR_clock_gettime64 403 38 30 #endif