ARM: vdso: Compile high resolution parts conditionally
authorThomas Gleixner <tglx@linutronix.de>
Fri, 7 Feb 2020 12:38:51 +0000 (13:38 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 17 Feb 2020 13:40:21 +0000 (14:40 +0100)
commit3280badbe1b289622ce12b94d064ddb624cbaef1
tree29f4adf238c94825b8f02d6569a28640df60ee9f
parent1dff4156d1f63b525c54aea7f097a657cbbbf837
ARM: vdso: Compile high resolution parts conditionally

If the architected timer is disabled in the kernel configuration then let
the core VDSO code drop the high resolution parts at compile time.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://lkml.kernel.org/r/20200207124402.622587341@linutronix.de
arch/arm/include/asm/vdso/gettimeofday.h