]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8957/1: VDSO: Match ARMv8 timer in cntvct_functional()
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 28 Jan 2020 19:22:13 +0000 (20:22 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 21 Feb 2020 17:03:20 +0000 (17:03 +0000)
commit271310bbf1bffe9e48cd1246f0884150f5027ea4
treec9b484295f20f3e4847c627b8e4299ae5198f362
parent900abd43b6d837ba70928a9ee9599ba3be1d2fb6
ARM: 8957/1: VDSO: Match ARMv8 timer in cntvct_functional()

It is possible for a system with an ARMv8 timer to run a 32-bit kernel.
When this happens we will unconditionally have the vDSO code remove the
__vdso_gettimeofday and __vdso_clock_gettime symbols because
cntvct_functional() returns false since it does not match that
compatibility string.

Fixes: 8b925d922a9c ("ARM: 8331/1: VDSO initialization, mapping, and synchronization")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/vdso.c