MIPS: vdso: Compile high resolution parts conditionally
authorThomas Gleixner <tglx@linutronix.de>
Fri, 7 Feb 2020 12:38:52 +0000 (13:38 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 17 Feb 2020 13:40:21 +0000 (14:40 +0100)
commit25a2a6567829119f5e3e11eb0ce3d8ae985b6019
tree6142f6123c92091f8be0b6eb3af8751e41a5a743
parent3280badbe1b289622ce12b94d064ddb624cbaef1
MIPS: vdso: Compile high resolution parts conditionally

If neither the R4K nor the GIC timer is enabled 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>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://lkml.kernel.org/r/20200207124402.714585315@linutronix.de
arch/mips/include/asm/vdso/gettimeofday.h