4.14-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Rian Hunter <r...@alum.mit.edu>

commit dc76803e57cc86589c4efcb5362918f9b0c0436f upstream.

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 <r...@alum.mit.edu>
Signed-off-by: Thomas Gleixner <t...@linutronix.de>
Cc: "H. Peter Anvin" <h...@zytor.com>
Cc: Andy Lutomirski <l...@kernel.org>
Cc: Borislav Petkov <bpet...@suse.de>
Cc: Vitaly Kuznetsov <vkuzn...@redhat.com>
Cc: Joerg Roedel <jroe...@suse.de>
Cc: Dmitry Safonov <d...@arista.com>
Cc: Josh Poimboeuf <jpoim...@redhat.com>
Cc: sta...@vger.kernel.org
Link: https://lkml.kernel.org/r/20180819230854.7275-1-r...@alum.mit.edu
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>

---
 arch/x86/kernel/process_64.c |    1 +
 1 file changed, 1 insertion(+)

--- a/arch/x86/kernel/process_64.c
+++ b/arch/x86/kernel/process_64.c
@@ -370,6 +370,7 @@ start_thread(struct pt_regs *regs, unsig
        start_thread_common(regs, new_ip, new_sp,
                            __USER_CS, __USER_DS, 0);
 }
+EXPORT_SYMBOL_GPL(start_thread);
 
 #ifdef CONFIG_COMPAT
 void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp)


Reply via email to