patch-2.0.19 linux/include/linux/wait.h

Next file: linux/init/main.c
Previous file: linux/include/linux/smb_fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.18/linux/include/linux/wait.h linux/include/linux/wait.h
@@ -26,14 +26,6 @@
 	return head && head != WAIT_QUEUE_HEAD(q);
 }
 
-struct semaphore {
-	int count;
-	struct wait_queue * wait;
-};
-
-#define MUTEX ((struct semaphore) { 1, NULL })
-#define MUTEX_LOCKED ((struct semaphore) { 0, NULL })
-
 struct select_table_entry {
 	struct wait_queue wait;
 	struct wait_queue ** wait_address;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov