diff options
author | Stafford Horne <shorne@gmail.com> | 2020-02-25 19:06:12 +0900 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2020-03-02 18:10:52 +0900 |
commit | d95b56c77efdafec14d767bbf9730ff55907667d (patch) | |
tree | ab4fcac8fed530e6f8d61e89b3a7a555a711db6a /arch/openrisc | |
parent | 07e83dfbe16cd882afc1d221f4ef3a85b9818f9a (diff) | |
download | linux-d95b56c77efdafec14d767bbf9730ff55907667d.tar.gz linux-d95b56c77efdafec14d767bbf9730ff55907667d.tar.bz2 linux-d95b56c77efdafec14d767bbf9730ff55907667d.zip |
openrisc: Cleanup copy_thread_tls docs and comments
Previously copy_thread_tls was copy_thread and before that something
else. Remove the documentation about the regs parameter that didn't
exist in either version.
Next, fix comment wrapping and details about how TLS pointer gets to the
copy_thread_tls function.
Signed-off-by: Stafford Horne <shorne@gmail.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'arch/openrisc')
-rw-r--r-- | arch/openrisc/kernel/process.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/openrisc/kernel/process.c b/arch/openrisc/kernel/process.c index 5caa47f7de4f..6bcdca424e11 100644 --- a/arch/openrisc/kernel/process.c +++ b/arch/openrisc/kernel/process.c @@ -122,7 +122,6 @@ extern asmlinkage void ret_from_fork(void); * @usp: user stack pointer or fn for kernel thread * @arg: arg to fn for kernel thread; always NULL for userspace thread * @p: the newly created task - * @regs: CPU context to copy for userspace thread; always NULL for kthread * @tls: the Thread Local Storage pointer for the new process * * At the top of a newly initialized kernel stack are two stacked pt_reg |