Some 64 bit architectures have support for 32 bit applications that require a separate version of the vDSOs. This patch adds support to the generic code for compat fallback functions. Cc: Catalin Marinas <catalin.marinas@xxxxxxx> Cc: Will Deacon <will.deacon@xxxxxxx> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@xxxxxxx> --- lib/vdso/gettimeofday.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/vdso/gettimeofday.c b/lib/vdso/gettimeofday.c index a8cfeeb1f40a..19a5337fd066 100644 --- a/lib/vdso/gettimeofday.c +++ b/lib/vdso/gettimeofday.c @@ -15,7 +15,11 @@ #include <linux/hrtimer.h> #include <vdso/datapage.h> +#ifdef ENABLE_COMPAT_VDSO +#include <asm/vdso/compat_gettimeofday.h> +#else #include <asm/vdso/gettimeofday.h> +#endif /* ENABLE_COMPAT_VDSO */ /* To improve performances, in this file, __always_inline it is used * for the functions called multiple times. -- 2.19.2