[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-dc76803e57cc86589c4efcb5362918f9b0c0436f@git.kernel.org>
Date: Mon, 20 Aug 2018 09:11:22 -0700
From: tip-bot for Rian Hunter <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: rian@...m.mit.edu, hpa@...or.com, bpetkov@...e.de,
tglx@...utronix.de, luto@...nel.org, vkuznets@...hat.com,
jpoimboe@...hat.com, linux-kernel@...r.kernel.org, jroedel@...e.de,
mingo@...nel.org, dima@...sta.com
Subject: [tip:x86/urgent] x86/process: Re-export start_thread()
Commit-ID: dc76803e57cc86589c4efcb5362918f9b0c0436f
Gitweb: https://git.kernel.org/tip/dc76803e57cc86589c4efcb5362918f9b0c0436f
Author: Rian Hunter <rian@...m.mit.edu>
AuthorDate: Sun, 19 Aug 2018 16:08:53 -0700
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Mon, 20 Aug 2018 18:04:42 +0200
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@...m.mit.edu>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Cc: "H. Peter Anvin" <hpa@...or.com>
Cc: Andy Lutomirski <luto@...nel.org>
Cc: Borislav Petkov <bpetkov@...e.de>
Cc: Vitaly Kuznetsov <vkuznets@...hat.com>
Cc: Joerg Roedel <jroedel@...e.de>
Cc: Dmitry Safonov <dima@...sta.com>
Cc: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: stable@...r.kernel.org
Link: https://lkml.kernel.org/r/20180819230854.7275-1-rian@alum.mit.edu
---
arch/x86/kernel/process_64.c | 1 +
1 file changed, 1 insertion(+)
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)
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)
Powered by blists - more mailing lists