summaryrefslogtreecommitdiff
path: root/ipc/sem.c
diff options
context:
space:
mode:
authorBhaskar Chowdhury <unixbhaskar@gmail.com>2021-05-07 04:06:41 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-05-07 10:26:34 +0300
commit7497835f7e8dae01c4850ce7204f6a8a7f58f2e5 (patch)
tree9a65692badc20ba42020d22ded7fa132ba2d29b9 /ipc/sem.c
parenta109ae2a0252308aa46ce77067e751295b9beb87 (diff)
downloadlinux-7497835f7e8dae01c4850ce7204f6a8a7f58f2e5.tar.xz
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>
Diffstat (limited to 'ipc/sem.c')
-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);