]> git.baikalelectronics.ru Git - kernel.git/commit
lib/vdso: Build 32 bit specific functions in the right context
authorVincenzo Frascino <vincenzo.frascino@arm.com>
Fri, 30 Aug 2019 13:58:56 +0000 (14:58 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 14 Jan 2020 11:20:44 +0000 (12:20 +0100)
commita4d0f1bea9046a11e6f7d003b8e39af4f8a2e86c
treeafefdfa9d8bc6b5f0cf274f41b9efc60d9b6fd7b
parent65e9f754e8fc86eeeb0d0931c66ab46facbfc228
lib/vdso: Build 32 bit specific functions in the right context

clock_gettime32 and clock_getres_time32 should be compiled only with a
32 bit vdso library.

Exclude these symbols when BUILD_VDSO32 is not defined.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Andy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/20190830135902.20861-3-vincenzo.frascino@arm.com
lib/vdso/gettimeofday.c