summaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2022-08-03 10:43:42 +0200
committerIngo Molnar <mingo@kernel.org>2022-08-03 10:44:54 +0200
commitdcca34754a3f5290406403b8066e3b15dda9f4bf (patch)
tree27f67b0df8423365001f8ca13e445a705c732d05 /kernel/exit.c
parentb6e8d40d43ae4dec00c8fea2593eeea3114b8f44 (diff)
downloadlinux-dcca34754a3f5290406403b8066e3b15dda9f4bf.tar.gz
linux-dcca34754a3f5290406403b8066e3b15dda9f4bf.tar.bz2
linux-dcca34754a3f5290406403b8066e3b15dda9f4bf.zip
exit: Fix typo in comment: s/sub-theads/sub-threads
Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 64c938ce36fe..84021b24f79e 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -1051,7 +1051,7 @@ static int wait_task_zombie(struct wait_opts *wo, struct task_struct *p)
* p->signal fields because the whole thread group is dead
* and nobody can change them.
*
- * psig->stats_lock also protects us from our sub-theads
+ * psig->stats_lock also protects us from our sub-threads
* which can reap other children at the same time. Until
* we change k_getrusage()-like users to rely on this lock
* we have to take ->siglock as well.