aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhaskar Chowdhury2021-05-06 18:06:41 -0700
committerLinus Torvalds2021-05-07 00:26:34 -0700
commit7497835f7e8dae01c4850ce7204f6a8a7f58f2e5 (patch)
tree9a65692badc20ba42020d22ded7fa132ba2d29b9
parenta109ae2a0252308aa46ce77067e751295b9beb87 (diff)
ipc/sem.c: spelling fix
s/purpuse/purpose/ Link: https://lkml.kernel.org/r/20210319221432.26631-1-unixbhaskar@gmail.com Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--ipc/sem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/sem.c b/ipc/sem.c
index 0897dac27f43..e0ec239680cb 100644
--- a/ipc/sem.c
+++ b/ipc/sem.c
@@ -786,7 +786,7 @@ static inline void wake_up_sem_queue_prepare(struct sem_queue *q, int error,
{
get_task_struct(q->sleeper);
- /* see SEM_BARRIER_2 for purpuse/pairing */
+ /* see SEM_BARRIER_2 for purpose/pairing */
smp_store_release(&q->status, error);
wake_q_add_safe(wake_q, q->sleeper);