]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: vdso: Remove dependency with the arch_timer driver internals
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 8 Apr 2019 15:49:01 +0000 (16:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 May 2019 13:43:18 +0000 (06:43 -0700)
commit6bce78421ca8c611c63f1bf305d2c6912a818a05
tree76935d53650582424c21e89caf7a37fdce9f6754
parent10915c3f4d090edf5b57b87c49009c50a05f4d3c
ARM: vdso: Remove dependency with the arch_timer driver internals

[ Upstream commit 1f5b62f09f6b314c8d70b9de5182dae4de1f94da ]

The VDSO code uses the kernel helper that was originally designed
to abstract the access between 32 and 64bit systems. It worked so
far because this function is declared as 'inline'.

As we're about to revamp that part of the code, the VDSO would
break. Let's fix it by doing what should have been done from
the start, a proper system register access.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/include/asm/cp15.h
arch/arm/vdso/vgettimeofday.c