Messages in this thread Patch in this message | | | Date | Mon, 13 Jan 2020 19:09:34 -0000 | From | "tip-bot2 for Vincenzo Frascino" <> | Subject | [tip: timers/core] arm64: compat: vdso: Expose BUILD_VDSO32 |
| |
The following commit has been merged into the timers/core branch of tip:
Commit-ID: 4845c25326cf1db48e010a0fb162da4dfb07665a Gitweb: https://git.kernel.org/tip/4845c25326cf1db48e010a0fb162da4dfb07665a Author: Vincenzo Frascino <vincenzo.frascino@arm.com> AuthorDate: Fri, 30 Aug 2019 14:58:55 +01:00 Committer: Thomas Gleixner <tglx@linutronix.de> CommitterDate: Fri, 10 Jan 2020 21:14:04 +01:00
arm64: compat: vdso: Expose BUILD_VDSO32
clock_gettime32 and clock_getres_time32 should be compiled only with the 32 bit vdso library.
Expose BUILD_VDSO32 when arm64 compat is compiled, to provide an indication to the generic library to include these symbols.
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Link: https://lore.kernel.org/r/20190830135902.20861-2-vincenzo.frascino@arm.com
--- arch/arm64/include/asm/vdso/compat_gettimeofday.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm64/include/asm/vdso/compat_gettimeofday.h b/arch/arm64/include/asm/vdso/compat_gettimeofday.h index c50ee1b..fe7afe0 100644 --- a/arch/arm64/include/asm/vdso/compat_gettimeofday.h +++ b/arch/arm64/include/asm/vdso/compat_gettimeofday.h @@ -17,6 +17,7 @@ #define VDSO_HAS_CLOCK_GETRES 1 #define VDSO_HAS_32BIT_FALLBACK 1 +#define BUILD_VDSO32 1 static __always_inline int gettimeofday_fallback(struct __kernel_old_timeval *_tv,
| |