]> 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)
commit005c573c1a91b33d15ee25f236976fc988a2837d
tree6142f6123c92091f8be0b6eb3af8751e41a5a743
parent8caa44404437df0a532f5b635f7dc852ae4c5bfd
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