lkml.org 
[lkml]   [2020]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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: 3b5584afeef05319ade0fbf5f634a64fd3e5772b
Gitweb: https://git.kernel.org/tip/3b5584afeef05319ade0fbf5f634a64fd3e5772b
Author: Vincenzo Frascino <vincenzo.frascino@arm.com>
AuthorDate: Fri, 30 Aug 2019 14:58:55 +01:00
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Tue, 14 Jan 2020 12:20:43 +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,
\
 
 \ /
  Last update: 2020-01-14 14:03    [W:0.267 / U:20.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site