]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
MIPS: Introduce Kconfig MIPS_GENERIC_GETTIMEOFDAY
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Thu, 21 May 2026 06:53:17 +0000 (08:53 +0200)
committerThomas Gleixner <tglx@kernel.org>
Thu, 4 Jun 2026 16:22:45 +0000 (18:22 +0200)
The logic to enable the generic vDSO Kconfig symbols is about to become
more complex.

Introduce a new helper symbol to keep the configuration readable.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Link: https://patch.msgid.link/20260521-vdso-mips-kconfig-v1-3-2f79dcd6c78f@linutronix.de
arch/mips/Kconfig

index 3249880650da3caed129e53c3088dce506d9033c..b041d3daf7c7a4073ed7a673111be83cd81ccd05 100644 (file)
@@ -38,7 +38,6 @@ config MIPS
        select GENERIC_BUILTIN_DTB if BUILTIN_DTB
        select GENERIC_CMOS_UPDATE
        select GENERIC_CPU_AUTOPROBE
-       select GENERIC_GETTIMEOFDAY
        select GENERIC_IRQ_PROBE
        select GENERIC_IRQ_SHOW
        select GENERIC_ISA_DMA if EISA
@@ -3169,6 +3168,10 @@ endmenu
 config MIPS_EXTERNAL_TIMER
        bool
 
+config MIPS_GENERIC_GETTIMEOFDAY
+       def_bool y
+       select GENERIC_GETTIMEOFDAY
+
 menu "CPU Power Management"
 
 if CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER