patch-2.4.0-test10 linux/arch/s390/kernel/semaphore.c
Next file: linux/arch/s390/mm/init.c
Previous file: linux/arch/s390/config.in
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu Oct 12 14:19:31 2000
- Orig file:
v2.4.0-test9/linux/arch/s390/kernel/semaphore.c
- Orig date:
Fri May 12 11:41:45 2000
diff -u --recursive --new-file v2.4.0-test9/linux/arch/s390/kernel/semaphore.c linux/arch/s390/kernel/semaphore.c
@@ -16,8 +16,8 @@
/*
* Semaphores are implemented using a two-way counter:
* The "count" variable is decremented for each process
- * that tries to aquire the semaphore, while the "sleeping"
- * variable is a count of such aquires.
+ * that tries to acquire the semaphore, while the "sleeping"
+ * variable is a count of such acquires.
*
* Notably, the inline "up()" and "down()" functions can
* efficiently test if they need to do any extra work (up
@@ -242,7 +242,7 @@
while (atomic_read(&sem->count) < 0) {
set_task_state(tsk, TASK_UNINTERRUPTIBLE | TASK_EXCLUSIVE);
if (atomic_read(&sem->count) >= 0)
- break; /* we must attempt to aquire or bias the lock */
+ break; /* we must attempt to acquire or bias the lock */
schedule();
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)