arm64: vdso: Define sigtramp offset if needed
authorChristopher N. Hesse <raymanfx@gmail.com>
Mon, 22 Feb 2016 20:32:13 +0000 (21:32 +0100)
committerStricted <info@stricted.net>
Thu, 11 Oct 2018 16:03:05 +0000 (18:03 +0200)
Something breaks vdso offset generation currently, this needs to be
fixed properly.

Change-Id: I3f56a78eb83e61e97c4ffa11a7e865c326084c0a
Signed-off-by: Apavayan Sinha <info@apavayan.com>
arch/arm64/include/asm/vdso.h

index 839ce0031bd58a076893e844aa12c9a8ed4d33aa..745587fe7770c95f42ee8049527ddb3444474c8f 100644 (file)
 
 #include <generated/vdso-offsets.h>
 
+#ifndef vdso_offset_sigtramp
+#define vdso_offset_sigtramp   0x04e0
+#endif
+
 #define VDSO_SYMBOL(base, name)                                                   \
 ({                                                                        \
        (void *)(vdso_offset_##name - VDSO_LBASE + (unsigned long)(base)); \