.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Port on Texas Instruments TMS320C6x architecture |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2004, 2006, 2009, 2010, 2011 Texas Instruments Incorporated |
---|
5 | 6 | * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com) |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or modify |
---|
8 | | - * it under the terms of the GNU General Public License version 2 as |
---|
9 | | - * published by the Free Software Foundation. |
---|
10 | | - * |
---|
11 | 7 | */ |
---|
12 | 8 | #include <linux/module.h> |
---|
13 | 9 | #include <linux/unistd.h> |
---|
.. | .. |
---|
109 | 105 | * Copy a new thread context in its stack. |
---|
110 | 106 | */ |
---|
111 | 107 | int copy_thread(unsigned long clone_flags, unsigned long usp, |
---|
112 | | - unsigned long ustk_size, |
---|
113 | | - struct task_struct *p) |
---|
| 108 | + unsigned long ustk_size, struct task_struct *p, |
---|
| 109 | + unsigned long tls) |
---|
114 | 110 | { |
---|
115 | 111 | struct pt_regs *childregs; |
---|
116 | 112 | |
---|