patch-2.3.15 linux/include/asm-i386/semaphore.h

Next file: linux/include/asm-i386/system.h
Previous file: linux/include/asm-i386/semaphore-helper.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/linux/include/asm-i386/semaphore.h linux/include/asm-i386/semaphore.h
@@ -35,7 +35,7 @@
 
 struct semaphore {
 	atomic_t count;
-	int waking;
+	int sleepers;
 	wait_queue_head_t wait;
 #if WAITQUEUE_DEBUG
 	long __magic;
@@ -71,7 +71,7 @@
  * GCC 2.7.2.3 emits a bogus warning. EGCS doesnt. Oh well.
  */
 	atomic_set(&sem->count, val);
-	sem->waking = 0;
+	sem->sleepers = 0;
 	init_waitqueue_head(&sem->wait);
 #if WAITQUEUE_DEBUG
 	sem->__magic = (int)&sem->__magic;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)