From 8bf8ecb243a251f6ffe4270f32efa5be7cf2f34d Mon Sep 17 00:00:00 2001 From: "Christopher N. Hesse" Date: Mon, 22 Feb 2016 21:32:13 +0100 Subject: [PATCH] arm64: vdso: Define sigtramp offset if needed Something breaks vdso offset generation currently, this needs to be fixed properly. Change-Id: I3f56a78eb83e61e97c4ffa11a7e865c326084c0a Signed-off-by: Apavayan Sinha --- arch/arm64/include/asm/vdso.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/include/asm/vdso.h b/arch/arm64/include/asm/vdso.h index 839ce0031bd..745587fe777 100644 --- a/arch/arm64/include/asm/vdso.h +++ b/arch/arm64/include/asm/vdso.h @@ -29,6 +29,10 @@ #include +#ifndef vdso_offset_sigtramp +#define vdso_offset_sigtramp 0x04e0 +#endif + #define VDSO_SYMBOL(base, name) \ ({ \ (void *)(vdso_offset_##name - VDSO_LBASE + (unsigned long)(base)); \ -- 2.20.1