aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRian Hunter <rian@alum.mit.edu>2018-08-19 19:08:53 -0400
committerThomas Gleixner <tglx@linutronix.de>2018-08-20 12:04:42 -0400
commitdc76803e57cc86589c4efcb5362918f9b0c0436f (patch)
tree79080932c8fa833571d05a9901f0e047adf8af58
parent704ae091b061082b37a9968621af4c290c641d50 (diff)
x86/process: Re-export start_thread()
The consolidation of the start_thread() functions removed the export unintentionally. This breaks binfmt handlers built as a module. Add it back. Fixes: e634d8fc792c ("x86-64: merge the standard and compat start_thread() functions") Signed-off-by: Rian Hunter <rian@alum.mit.edu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bpetkov@suse.de> Cc: Vitaly Kuznetsov <vkuznets@redhat.com> Cc: Joerg Roedel <jroedel@suse.de> Cc: Dmitry Safonov <dima@arista.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/20180819230854.7275-1-rian@alum.mit.edu
-rw-r--r--arch/x86/kernel/process_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c
index 476e3ddf8890..a451bc374b9b 100644
--- a/arch/x86/kernel/process_64.c
+++ b/arch/x86/kernel/process_64.c
@@ -384,6 +384,7 @@ start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp)
384 start_thread_common(regs, new_ip, new_sp, 384 start_thread_common(regs, new_ip, new_sp,
385 __USER_CS, __USER_DS, 0); 385 __USER_CS, __USER_DS, 0);
386} 386}
387EXPORT_SYMBOL_GPL(start_thread);
387 388
388#ifdef CONFIG_COMPAT 389#ifdef CONFIG_COMPAT
389void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp) 390void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp)