summaryrefslogtreecommitdiff
path: root/arch/x86/entry/vdso/vdso32/system_call.S
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2016-06-09 23:57:04 +0300
committerIngo Molnar <mingo@kernel.org>2016-06-14 13:16:06 +0300
commitf0702555b16d31d61dc758fac6efb994c3fe3ec6 (patch)
tree9b0944dcf969a3e300e2cccb1c4538f8a8ed8c5d /arch/x86/entry/vdso/vdso32/system_call.S
parent99158f10e91768d34c5004c40c42f802b719bcae (diff)
downloadlinux-f0702555b16d31d61dc758fac6efb994c3fe3ec6.tar.xz
x86/vdso/32: Assemble sigreturn.S separately
sigreturn.S was historically included by the various __kernel_vsyscall implementations due to assumptions about all the 32-bit vDSO images having the sigreturn symbols at the same address. Those assumptions were removed in v3.16, and as of v4.4, there is only a single 32-bit vDSO left. Simplify the build process by assembling sigreturn.S into a normal object file. Signed-off-by: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/d7b6dfde3c7397aa26977320da90448363b5a7e9.1465505753.git.luto@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/entry/vdso/vdso32/system_call.S')
-rw-r--r--arch/x86/entry/vdso/vdso32/system_call.S7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/x86/entry/vdso/vdso32/system_call.S b/arch/x86/entry/vdso/vdso32/system_call.S
index 0109ac6cb79c..ed4bc9731cbb 100644
--- a/arch/x86/entry/vdso/vdso32/system_call.S
+++ b/arch/x86/entry/vdso/vdso32/system_call.S
@@ -2,16 +2,11 @@
* AT_SYSINFO entry point
*/
+#include <linux/linkage.h>
#include <asm/dwarf2.h>
#include <asm/cpufeatures.h>
#include <asm/alternative-asm.h>
-/*
- * First get the common code for the sigreturn entry points.
- * This must come first.
- */
-#include "sigreturn.S"
-
.text
.globl __kernel_vsyscall
.type __kernel_vsyscall,@function