]> git.ipfire.org Git - thirdparty/linux.git/commit
MIPS: csrc-r4k: Only use VDSO_CLOCKMODE_R4K when it is a available
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Thu, 21 May 2026 06:53:19 +0000 (08:53 +0200)
committerThomas Gleixner <tglx@kernel.org>
Tue, 9 Jun 2026 15:02:10 +0000 (17:02 +0200)
commitf3dc8fb24f90fa2901a87fb5273edabcc4e8f2ed
treeea2e46bb6c3822dbb01e7fb810e55b15c3640b8d
parent8ea920c48d82a0ef031bedfb649d4d8c77ef3d1c
MIPS: csrc-r4k: Only use VDSO_CLOCKMODE_R4K when it is a available

VDSO_CLOCKMODE_R4K is only defined if CONFIG_GENERIC_GETTIMEOFDAY is
enabled. Right now this is always the case, but it will change soon.

Prepare for the potential unavailability of VDSO_CLOCKMODE_R4K.

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-5-2f79dcd6c78f@linutronix.de
arch/mips/kernel/csrc-r4k.c