Skip to content

Commit 4405bdf

Browse files
jaedonRussell King
authored andcommitted
ARM: 8987/1: VDSO: Fix incorrect clock_gettime64
__vdso_*() should be removed and fallback used if CNTCVT is not available by cntvct_functional(). __vdso_clock_gettime64 when added previous commit is using the incorrect CNTCVT value in that state. __vdso_clock_gettime64 is also added to remove it's symbol. Cc: [email protected] Fixes: 74d06ef ("ARM: 8932/1: Add clock_gettime64 entry point") Signed-off-by: Jaedon Shin <[email protected]> Tested-by: Robin Murphy <[email protected]> Signed-off-by: Robin Murphy <[email protected]> Signed-off-by: Russell King <[email protected]>
1 parent eec13b4 commit 4405bdf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/kernel/vdso.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ static void __init patch_vdso(void *ehdr)
184184
if (!cntvct_ok) {
185185
vdso_nullpatch_one(&einfo, "__vdso_gettimeofday");
186186
vdso_nullpatch_one(&einfo, "__vdso_clock_gettime");
187+
vdso_nullpatch_one(&einfo, "__vdso_clock_gettime64");
187188
}
188189
}
189190

0 commit comments

Comments
 (0)