]> git.ipfire.org Git - thirdparty/linux.git/commit
riscv: vdso: Drop CONFIG_GENERIC_TIME_VSYSCALL guard around syscall fallbacks
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 19 May 2026 06:26:15 +0000 (08:26 +0200)
committerThomas Gleixner <tglx@kernel.org>
Tue, 2 Jun 2026 19:41:23 +0000 (21:41 +0200)
commit91d2a1a916a96bc0ed542704c4e20a84ff2cf554
treeafa20fb6ff1fe2b10dde3ab294ea6f9b141d218b
parente43ffb69e0438cddd72aaa30898b4dc446f664f8
riscv: vdso: Drop CONFIG_GENERIC_TIME_VSYSCALL guard around syscall fallbacks

The syscall definitions can be built just fine for 32-bit systems.
Also the guard does not cover __arch_get_hw_counter() which is always
used together with those system call fallbacks. Also this header is
unused when no vDSO is built anyways.

Drop the ifdeffery. The logic will be simpler to understand. Furthermore
this prepares the complete removal of CONFIG_GENERIC_TIME_VSYSCALL.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260519-vdso-generic_time_vsyscal-v1-1-5c2a5905d5f5@linutronix.de
arch/riscv/include/asm/vdso/gettimeofday.h