]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit713fc87637917ef8f91b092fdd4f0d810276ff2e
tree6142f6123c92091f8be0b6eb3af8751e41a5a743
parentbc04906f6166a4855cbf6aaedd6b96acf7e10524
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