]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: 8987/1: VDSO: Fix incorrect clock_gettime64
authorJaedon Shin <jaedon.shin@gmail.com>
Thu, 18 Jun 2020 17:15:30 +0000 (18:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2020 07:58:36 +0000 (09:58 +0200)
commitf36d129d035c4084c7a7a09f3ef9325862f70c89
tree874eb9f5366a000062be050daace5bbb8387f399
parent52b00d08c8d23423d717436eabe84f164df6f664
ARM: 8987/1: VDSO: Fix incorrect clock_gettime64

commit 4405bdf3c57ec28d606bdf5325f1167505bfdcd4 upstream.

__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: stable@vger.kernel.org
Fixes: 74d06efb9c2f ("ARM: 8932/1: Add clock_gettime64 entry point")
Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com>
Tested-by: Robin Murphy <robin.mruphy@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/kernel/vdso.c