Skip to content

Commit d95b56c

Browse files
committed
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 <[email protected]> Acked-by: Christian Brauner <[email protected]>
1 parent 07e83df commit d95b56c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/openrisc/kernel/process.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ extern asmlinkage void ret_from_fork(void);
122122
* @usp: user stack pointer or fn for kernel thread
123123
* @arg: arg to fn for kernel thread; always NULL for userspace thread
124124
* @p: the newly created task
125-
* @regs: CPU context to copy for userspace thread; always NULL for kthread
126125
* @tls: the Thread Local Storage pointer for the new process
127126
*
128127
* At the top of a newly initialized kernel stack are two stacked pt_reg

0 commit comments

Comments
 (0)