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)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 21 Jul 2020 15:32:55 +0000 (16:32 +0100)
commit4405bdf3c57ec28d606bdf5325f1167505bfdcd4
treec02456ebbe31be79fca83062c2d3edd20bde76b8
parenteec13b42d41b0f3339dcf0c4da43734427c68620
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: 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>
arch/arm/kernel/vdso.c