]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests: vDSO: vdso_test_correctness: Drop SYS_getcpu fallbacks
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Fri, 27 Feb 2026 06:45:58 +0000 (07:45 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 11 Mar 2026 14:23:06 +0000 (15:23 +0100)
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
tools/testing/selftests/vDSO/vdso_test_correctness.c

index 055af95aa552d82544b49df63d928d950181cb75..2a2d9b01a938ac1c6e6380792bcb2d69c6f77c39 100644 (file)
 
 static const char **name;
 
-#ifndef SYS_getcpu
-# ifdef __x86_64__
-#  define SYS_getcpu 309
-# else
-#  define SYS_getcpu 318
-# endif
-#endif
-
 #ifndef __NR_clock_gettime64
 #define __NR_clock_gettime64   403
 #endif