patch-2.3.2 linux/include/linux/ncp_fs_sb.h

Next file: linux/include/linux/proc_fs.h
Previous file: linux/include/linux/ncp_fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.1/linux/include/linux/ncp_fs_sb.h linux/include/linux/ncp_fs_sb.h
@@ -8,6 +8,7 @@
 #ifndef _NCP_FS_SB
 #define _NCP_FS_SB
 
+#include <asm/semaphore.h>
 #include <linux/ncp_mount.h>
 #include <linux/types.h>
 
@@ -44,7 +45,7 @@
 				   receive replies */
 
 	int lock;		/* To prevent mismatch in protocols. */
-	wait_queue_head_t wait;
+	struct semaphore sem;
 
 	int current_size;	/* for packet preparation */
 	int has_subfunction;

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