Skip to content

Commit dc76803

Browse files
rianhunterKAGA-KOKO
authored andcommitted
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: e634d8f ("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
1 parent 704ae09 commit dc76803

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/kernel/process_64.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp)
384384
start_thread_common(regs, new_ip, new_sp,
385385
__USER_CS, __USER_DS, 0);
386386
}
387+
EXPORT_SYMBOL_GPL(start_thread);
387388

388389
#ifdef CONFIG_COMPAT
389390
void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp)

0 commit comments

Comments
 (0)