Skip to content

Commit b9fecf0

Browse files
t-8chThomas Gleixner
authored andcommitted
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: 052e76a ("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
1 parent 21bbfd7 commit b9fecf0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm/kernel/vdso.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ static void __init patch_vdso(void *ehdr)
161161
vdso_nullpatch_one(&einfo, "__vdso_gettimeofday");
162162
vdso_nullpatch_one(&einfo, "__vdso_clock_gettime");
163163
vdso_nullpatch_one(&einfo, "__vdso_clock_gettime64");
164+
vdso_nullpatch_one(&einfo, "__vdso_clock_getres");
164165
}
165166
}
166167

0 commit comments

Comments
 (0)