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)
commitbf279849ad59538a1518c667c0795ec1fe9dbd66
treeafefdfa9d8bc6b5f0cf274f41b9efc60d9b6fd7b
parent715f23b6104aa297feea20d4f200ca81941e23de
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