]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: VDSO: Patch out __vdso_clock_getres() if unavailable
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 23 Dec 2025 06:59:17 +0000 (07:59 +0100)
committerThomas Gleixner <tglx@kernel.org>
Tue, 13 Jan 2026 13:42:23 +0000 (14:42 +0100)
The vDSO code hides symbols which are non-functional.
__vdso_clock_getres() was not added to this list when it got introduced.

Fixes: 052e76a31b4a ("ARM: 8931/1: Add clock_getres entry point")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20251223-vdso-compat-time32-v1-6-97ea7a06a543@linutronix.de
arch/arm/kernel/vdso.c

index e38a30477f3d70939f6d57c79fad52eed73c49b4..566c40f0f7c77b4f6d1d1578c39037bb5380a1e6 100644 (file)
@@ -161,6 +161,7 @@ static void __init patch_vdso(void *ehdr)
                vdso_nullpatch_one(&einfo, "__vdso_gettimeofday");
                vdso_nullpatch_one(&einfo, "__vdso_clock_gettime");
                vdso_nullpatch_one(&einfo, "__vdso_clock_gettime64");
+               vdso_nullpatch_one(&einfo, "__vdso_clock_getres");
        }
 }