aboutsummaryrefslogtreecommitdiffstats
path: root/arch/c6x/kernel/process.c
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2020-05-24 23:14:23 +0200
committerChristian Brauner <christian.brauner@ubuntu.com>2020-07-04 23:41:36 +0200
commite0daa22c292b5835a946716b9a2092b30c7d9d31 (patch)
tree07c6016f6e2ac4b66b530bd56c28c431c8410b21 /arch/c6x/kernel/process.c
parentalpha: switch to copy_thread_tls() (diff)
downloadlinux-dev-e0daa22c292b5835a946716b9a2092b30c7d9d31.tar.xz
linux-dev-e0daa22c292b5835a946716b9a2092b30c7d9d31.zip
c6x: switch to copy_thread_tls()
Use the copy_thread_tls() calling convention which passes tls through a register. This is required so we can remove the copy_thread{_tls}() split and remove the HAVE_COPY_THREAD_TLS macro. CC: Mark Salter <msalter@redhat.com> Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com> Cc: linux-c6x-dev@linux-c6x.org Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to '')
-rw-r--r--arch/c6x/kernel/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/c6x/kernel/process.c b/arch/c6x/kernel/process.c
index cb9c8b63cddd..afa3ea9a93aa 100644
--- a/arch/c6x/kernel/process.c
+++ b/arch/c6x/kernel/process.c
@@ -104,9 +104,9 @@ void start_thread(struct pt_regs *regs, unsigned int pc, unsigned long usp)
/*
* Copy a new thread context in its stack.
*/
-int copy_thread(unsigned long clone_flags, unsigned long usp,
- unsigned long ustk_size,
- struct task_struct *p)
+int copy_thread_tls(unsigned long clone_flags, unsigned long usp,
+ unsigned long ustk_size, struct task_struct *p,
+ unsigned long tls)
{
struct pt_regs *childregs;