diff options
| author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-12-23 07:59:17 +0100 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-01-13 14:42:23 +0100 |
| commit | b9fecf0dddfc55cd7d02b0011494da3c613f7cde (patch) | |
| tree | 661efb7d8c664e9ae7320d1e9ee45ccdfc3b0919 | |
| parent | 21bbfd74044f77a98bbc27ea9e6cb04f4dfd8ee6 (diff) | |
ARM: VDSO: Patch out __vdso_clock_getres() if unavailable
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
| -rw-r--r-- | arch/arm/kernel/vdso.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/vdso.c b/arch/arm/kernel/vdso.c index e38a30477f3d..566c40f0f7c7 100644 --- a/arch/arm/kernel/vdso.c +++ b/arch/arm/kernel/vdso.c @@ -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"); } } |
