riscv: vdso: Untangle Kconfig logic
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 26 Aug 2025 06:17:09 +0000 (08:17 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 4 Sep 2025 09:23:50 +0000 (11:23 +0200)
commiteb3b66aab72c10632865afaf8e46f4667c21ef7d
tree5c32b31ae04fb99d950d4d3bf5b2197d397baf60
parentea1a1fa919a5b4f39fa46073e7b3a19b12521f05
riscv: vdso: Untangle Kconfig logic

On riscv32 the generic vDSO infrastructure is used but without its
time-related functionality. The Kconfig logic to implement this
treats HAVE_GENERIC_VDSO as a synonym for GENERIC_GETTIMEOFDAY.
This works today due to some underlying issues in how the generic vDSO
library works. Some future cleanups will break this logic.

Restructure the Kconfig logic, so HAVE_GENERIC_VDSO refers to the generic
library in general and GENERIC_GETTIMEOFDAY refers to its time-related
functionality.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250826-vdso-cleanups-v1-6-d9b65750e49f@linutronix.de
arch/riscv/Kconfig